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

Commit 88583ddf authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Reduce app-ops settle time

to match more what the user expects while still preventing thrashing on
app launch.

Fixes: 149432350
Test: Pure settings change
Change-Id: I5fa519afa9886e9f969d0150ed8ff75aeba93ef3
parent dc333b58
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -411,9 +411,9 @@ public class AppOpsService extends IAppOpsService.Stub {
                    Slog.e(TAG, "Bad app ops settings", e);
                }
                TOP_STATE_SETTLE_TIME = mParser.getDurationMillis(
                        KEY_TOP_STATE_SETTLE_TIME, 30 * 1000L);
                        KEY_TOP_STATE_SETTLE_TIME, 5 * 1000L);
                FG_SERVICE_STATE_SETTLE_TIME = mParser.getDurationMillis(
                        KEY_FG_SERVICE_STATE_SETTLE_TIME, 10 * 1000L);
                        KEY_FG_SERVICE_STATE_SETTLE_TIME, 5 * 1000L);
                BG_STATE_SETTLE_TIME = mParser.getDurationMillis(
                        KEY_BG_STATE_SETTLE_TIME, 1 * 1000L);
            }