Avoid infinite pending MSG_CHECK_IDLE_STATES messages.
1. Make sure we don't have periodic MSG_CHECK_IDLE_STATES messages for UserHandle.USER_ALL due to Doze allowlist changes. 2. Make sure we don't have duplicate and periodic MSG_CHECK_IDLE_STATES messages for a single user ID. Bug: 221352666 Test: atest AppStandbyControllerTests Change-Id: Iedfe02107f97a4c0b07ec0fc6463500faf286a06
Loading
Please register or sign in to comment