commit | a4bec019a784a3916183ad45f39088e34aab0829 | [log] [tgz] |
---|---|---|
author | Cody Kesting <ckesting@google.com> | Tue Feb 02 18:53:18 2021 -0800 |
committer | Cody Kesting <ckesting@google.com> | Fri Feb 12 16:01:32 2021 -0800 |
tree | 5e124d7ba499fab66e1c5261b9328c8c22d39e2b | |
parent | cefc4f6864f2fc52cff1e73832628501741a5893 [diff] |
Acquire WakeLock while processing Gateway messages. This CL updates VcnGatewayConnection to acquire a WakeLock when sending a message to the Handler queue. After every message is processed, the state will check for additional messages and release the WakeLock if the queue is empty. Bug: 178140973 Test: atest FrameworksVcnTests Change-Id: Ib108c834833cc8feb2c92c9a6c60f218618225ec