Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e797b82c authored by Mike Lockwood's avatar Mike Lockwood
Browse files

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



ANR doesn't seem to be happening any more.

BUG: 3142881

This reverts commit c597ba8e.

Change-Id: Ib6eb407c700bc9a8460f49394ec71d75d14588e2
Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent ed723b40
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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() {