diff options
author | Raj Yengisetty <raj@cyngn.com> | 2015-01-21 20:15:39 +0800 |
---|---|---|
committer | Raj Yengisetty <raj@cyngn.com> | 2015-01-22 14:53:31 +0800 |
commit | 949ee701f5c54611e3c9b030f399ce81891ac66b (patch) | |
tree | 2875276b16afc25df5caf11df5ef77124788b37e /res/values-zh-rCN/cm_strings.xml | |
parent | 4656dc99b58b920c949c03324e212d3cdb5e0acb (diff) | |
download | android_packages_apps_DeskClock-949ee701f5c54611e3c9b030f399ce81891ac66b.tar.gz android_packages_apps_DeskClock-949ee701f5c54611e3c9b030f399ce81891ac66b.tar.bz2 android_packages_apps_DeskClock-949ee701f5c54611e3c9b030f399ce81891ac66b.zip |
DeskClock: Handle invalid default alarm URI
If the user sets an external file as their alarm and the file is
subsequently deleted, DeskClock will go into a crash loop trying
to reset to a default alarm uri (which was set to this external
file).
This patch will recover when this scenario is triggered, and the
default uri is invalid. DeskClock will fetch and reset default alarm
URI from the system property 'ro.config.alarm_alert'. If no such system
property exists or the file cannot be found, it will pick a random
alarm tone from MediaStore.
Change-Id: I481876e0a25fbbb7ab1be8e3d7c9f8a94d66a43c
Diffstat (limited to 'res/values-zh-rCN/cm_strings.xml')
0 files changed, 0 insertions, 0 deletions