summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorLuis Vidal <lvidal@cyngn.com>2016-05-16 16:35:35 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2016-05-17 14:30:09 -0700
commitd67600a4f39917e47d5009bf4f9f8ce3be362af9 (patch)
treeae566d2947713ab2a97436ea56dfb2f9e972a7dc /AndroidManifest.xml
parentd6709e61c125cdc636944c16efe3303f9ffbb9e1 (diff)
downloadpackages_apps_Settings-d67600a4f39917e47d5009bf4f9f8ce3be362af9.zip
packages_apps_Settings-d67600a4f39917e47d5009bf4f9f8ce3be362af9.tar.gz
packages_apps_Settings-d67600a4f39917e47d5009bf4f9f8ce3be362af9.tar.bz2
Settings: update time zone strings on date change
If the user changes the date, most obvious case being from 1970, to a current date, and the user's selected Locale's country time zones have been changed (according to ICU), we must update the time zone strings in the system. Ref: CYNGNOS-453 Signed-off-by: Roman Birg <roman@cyngn.com> (cherry picked from commit 926c3b0a50e521368628ef0d9975c99fa4cd3480) Change-Id: I487c54cd4f933286c5004d24a3f8730ee2d4e4f6
Diffstat (limited to 'AndroidManifest.xml')
-rwxr-xr-xAndroidManifest.xml7
1 files changed, 7 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 451f370..349bca7 100755
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -529,6 +529,13 @@
android:value="true" />
</activity>
+ <receiver android:name=".DateChangeReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.DATE_CHANGED"/>
+ <action android:name="android.intent.action.LOCALE_CHANGED"/>
+ </intent-filter>
+ </receiver>
+
<activity android:name="DateTimeSettingsSetupWizard"
android:label="@string/date_and_time"
android:theme="@style/Theme.DateTimeSettingsSetupWizard"