From 0d79893b19be2907aafa39b4241330d64eb420d6 Mon Sep 17 00:00:00 2001 From: Jimmy Shih Date: Mon, 11 Jun 2012 14:55:15 -0700 Subject: [PATCH] - Change the default value for the "defaultMapPublic" key to false. Thus the default is creating new unlisted maps. - Toggle the title of the "defaultMapPublic" setting between "Make new maps public" and "Make new maps unlisted". - Fix bug in TrackNameUtil to check if startTime is -1L. --- MyTracks/res/values/strings.xml | 31 ++++++++++++------- MyTracks/res/xml/sharing_settings.xml | 7 ++--- .../settings/SharingSettingsActivity.java | 28 ++++++++++++++++- .../apps/mytracks/util/PreferencesUtils.java | 2 +- .../apps/mytracks/util/TrackNameUtils.java | 7 +++-- 5 files changed, 56 insertions(+), 19 deletions(-) diff --git a/MyTracks/res/values/strings.xml b/MyTracks/res/values/strings.xml index 9515eecb7..41d57e549 100644 --- a/MyTracks/res/values/strings.xml +++ b/MyTracks/res/values/strings.xml @@ -1836,24 +1836,33 @@ limitations under the License. Other apps can read, write, start/stop recording My Tracks data. Make new maps public - - New maps created in Google Maps will be unlisted. - - + option explaining that new maps created in Google Maps will be public, as opposed to unlisted. + See http://support.google.com/maps/bin/answer.py?answer=62845 for public versus unlisted."> New maps created in Google Maps will be public. + + Make new maps unlisted + + + New maps created in Google Maps will be unlisted. + + android:summaryOff="@string/settings_sharing_map_unlisted_summary" + android:summaryOn="@string/settings_sharing_map_public_summary" />