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

Commit 43fabbaa authored by Kweku Adams's avatar Kweku Adams
Browse files

Turning wait_for_unlock on by default.

Bug: 118321869
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: I66d00f4037df2c433ef7e46eae0b57809e5b6513
parent ab5598df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1132,7 +1132,7 @@ public class DeviceIdleController extends SystemService
                        KEY_SMS_TEMP_APP_WHITELIST_DURATION, 20 * 1000L);
                NOTIFICATION_WHITELIST_DURATION = mParser.getDurationMillis(
                        KEY_NOTIFICATION_WHITELIST_DURATION, 30 * 1000L);
                WAIT_FOR_UNLOCK = mParser.getBoolean(KEY_WAIT_FOR_UNLOCK, false);
                WAIT_FOR_UNLOCK = mParser.getBoolean(KEY_WAIT_FOR_UNLOCK, true);
                PRE_IDLE_FACTOR_LONG = mParser.getFloat(KEY_PRE_IDLE_FACTOR_LONG, 1.67f);
                PRE_IDLE_FACTOR_SHORT = mParser.getFloat(KEY_PRE_IDLE_FACTOR_SHORT, 0.33f);
            }