Merge "Revert "getRingtone is causing an anr. Turn it off for now."" into honeycomb

This commit is contained in:
Joe Onorato
2011-01-26 22:00:07 -08:00
committed by Android (Google) Code Review

View File

@@ -218,7 +218,6 @@ 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,
@@ -234,7 +233,6 @@ if (false) { // getRingtone ANRs
}
}
}
}
}
void dismissInvalidChargerDialog() {