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
This commit is contained in:
Philip P. Moltmann
2020-02-12 16:55:32 -08:00
parent dc333b58c1
commit 88583ddfe6

View File

@@ -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);
}