commit | e32d8bcf987361e1142b8dcfb3d9bc9453d38938 | [log] [tgz] |
---|---|---|
author | Sudheer Shanka <sudheersai@google.com> | Tue Jul 18 22:42:57 2023 +0000 |
committer | Android Build Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Jul 18 22:42:57 2023 +0000 |
tree | caa064378374bfe557953d573487e80af49a21b8 | |
parent | 0b5fb22b1b8ee3d6b8cfa4816e4b0a5777ede76b [diff] |
Explicitly take app out of app idle state after turning battery on. When the device is charging, any `am set-inactive` commands would be effectively no-ops. So, explicitly take the test app out of the app idle state after changing the charging state. Bug: 288220398 Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueTest.java Test: atest services/tests/mockingservicestests/src/com/android/server/am/BroadcastQueueModernImplTest.java (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:9290fb85fe3c16c1a424ffe32769c5b2927b4b74) Merged-In: I152af12b404ac607fff794a527f45a0aad640d4f Change-Id: I152af12b404ac607fff794a527f45a0aad640d4f