summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2018-11-05 18:06:13 -0800
committerHung-ying Tyan <tyanh@google.com>2019-01-30 09:50:23 +0000
commit3d64c041f4072a2b7359be492f8e0a92f16097ac (patch)
treef2e139419e12d21c34689809ac7db625034eda57 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent607e7979323bff85df3a2c92a0278d7685011ebe (diff)
Informing app idle listeners on enabled state changes.
Currently, if AppStandbyController is enabled after some listeners have already registered, the listeners will be told that the system is in a state of parole even though AppStandbyController thinks it's not in parole. This change informs AppIdleStateChangeListeners when AppStandbyController's enabled state changes as well so that they can be in the correct state. I also removed the call to setAppIdleEnabled() in onBootPhase() since updateSettings() is called right afterwards and that also calls setAppIdleEnabled(). Bug: 112329453 Test: atest AppStandbyControllerTests also check logs to confirm that NetworkPolicyManagerService and JobSchedulerService's listeners switch from ON to OFF when the system is ready. Change-Id: I88bc293c70b459f54f75f92126ad306d6ab8d9b7 Merged-In: I88bc293c70b459f54f75f92126ad306d6ab8d9b7
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions