summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorFelipe Leme <felipeal@google.com>2016-09-08 09:33:48 -0700
committerFelipe Leme <felipeal@google.com>2016-09-08 11:18:29 -0700
commit0970046adf578c0003d5bfbd19a0ca58c18d96cc (patch)
tree46ed2e0965d7a50e5f783494405c901bd252a8de /tools/aapt2/java/JavaClassGenerator_test.cpp
parent873a83af3fff6b0ac85489ebc0b3106d11e97ca6 (diff)
Don't update app idle rules on updateRulesForRestrictPowerUL().
updateRulesForRestrictPowerUL() should only affect the global rules (Doze and Battery Saver), while app idle is an app-specific rule. Such call was delaying setDeviceIdle() in O(100ms). BUG: 31281543 Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_enabled Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_whitelisted Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleNonMetered_blacklisted Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_enabled Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_whitelisted Test: cts-tradefed run commandAndExit cts -m CtsHostsideNetworkTests -t com.android.cts.net.HostsideRestrictBackgroundNetworkTests#testAppIdleMetered_disabled Change-Id: I32ad6853a6d88e2709538d00cd1e77b96d331b2d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions