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

Commit c597ba8e authored by Joe Onorato's avatar Joe Onorato
Browse files

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

Change-Id: Ia002c9be1cd203e5e989f2a9e49c49b97778ec1b
parent 30ca240a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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