From 89c9ad061236fec63dc209034e762682f3be58cc Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Wed, 1 Feb 2012 17:35:40 -0800 Subject: [PATCH] Let the SettingsActivity display the confirmation dialogs. Thus can handle screen rotation. Rename EulaUtil.java to EulaUtils.java. --- MyTracks/res/values/strings.xml | 23 +++--- .../android/apps/mytracks/MyTracks.java | 8 +-- .../apps/mytracks/SettingsActivity.java | 70 +++++++++---------- .../apps/mytracks/WelcomeActivity.java | 4 +- .../apps/mytracks/util/DialogUtils.java | 54 ++++++++++++++ .../util/{EulaUtil.java => EulaUtils.java} | 4 +- 6 files changed, 106 insertions(+), 57 deletions(-) create mode 100644 MyTracks/src/com/google/android/apps/mytracks/util/DialogUtils.java rename MyTracks/src/com/google/android/apps/mytracks/util/{EulaUtil.java => EulaUtils.java} (98%) diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml index 6c9e16f3a..70bd71456 100644 --- a/MyTracks/res/values/strings.xml +++ b/MyTracks/res/values/strings.xml @@ -1748,14 +1748,11 @@ limitations under the License. Screenshot: settings.png"> Reset - + All your settings will be erased and reverted to the default values. Saved tracks will be - preserved. Are you sure? + preserved. - Are you sure you want to allow other apps, including future apps, to control and access My - Tracks data? There will be no further notification. + the confirmation dialog message informing the user that other apps, including apps + installed in the future, will be able to control and access My Tracks data. In addition, no + further notification of third party app access will be shown."> + Other apps, including future apps, will be able to control and access My Tracks data. There will + be no further notification.