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

Commit a50bf78f authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Disable battery saver tron log by default

Test: Make sure not logs are written on: logcat -b events | grep -w 1302
Test: Re-anble tron log with settings put global battery_saver_constants send_tron_log=true
and make sure logs are written on: logcat -b events | grep -w 1302
Bug: 74742911

Change-Id: I1f4159b7194fbc29be7f76669aa4e53084ed27e7
parent 78766d29
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -392,7 +392,7 @@ public class BatterySaverPolicy extends ContentObserver {
        mForceBackgroundCheck = parser.getBoolean(KEY_FORCE_BACKGROUND_CHECK, true);
        mOptionalSensorsDisabled = parser.getBoolean(KEY_OPTIONAL_SENSORS_DISABLED, true);
        mAodDisabled = parser.getBoolean(KEY_AOD_DISABLED, true);
        mSendTronLog = parser.getBoolean(KEY_SEND_TRON_LOG, true);
        mSendTronLog = parser.getBoolean(KEY_SEND_TRON_LOG, false);

        // Get default value from Settings.Secure
        final int defaultGpsMode = Settings.Secure.getInt(mContentResolver, SECURE_KEY_GPS_MODE,