diff options
author | Joe Onorato <joeo@google.com> | 2010-10-27 13:19:47 -0700 |
---|---|---|
committer | Joe Onorato <joeo@google.com> | 2010-10-27 13:19:47 -0700 |
commit | c597ba8e9ad08ac628271b4498c27eda74c6c86c (patch) | |
tree | 4576d07694dc4678315bd9815346ccff51050e0c /packages/SystemUI/src/com/android/systemui/power | |
parent | 30ca240a98becff34c2003ea13475d9f381956b2 (diff) | |
download | frameworks_base-c597ba8e9ad08ac628271b4498c27eda74c6c86c.zip frameworks_base-c597ba8e9ad08ac628271b4498c27eda74c6c86c.tar.gz frameworks_base-c597ba8e9ad08ac628271b4498c27eda74c6c86c.tar.bz2 |
getRingtone is causing an anr. Turn it off for now.
Change-Id: Ia002c9be1cd203e5e989f2a9e49c49b97778ec1b
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/power')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/power/PowerUI.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java index 1a55830..0b7b4c0 100644 --- a/packages/SystemUI/src/com/android/systemui/power/PowerUI.java +++ b/packages/SystemUI/src/com/android/systemui/power/PowerUI.java @@ -122,6 +122,7 @@ public class PowerUI extends SystemUI { mLowBatteryDialog = d; } +if (false) { // getRingtone ANRs final ContentResolver cr = mContext.getContentResolver(); if (Settings.System.getInt(cr, Settings.System.POWER_SOUNDS_ENABLED, 1) == 1) { final String soundPath = Settings.System.getString(cr, @@ -137,6 +138,7 @@ public class PowerUI extends SystemUI { } } } +} } private DialogInterface.OnDismissListener mLowBatteryListener |