commit | 9a76b5ce378c26eae75e6c63b636eabf529a7c22 | [log] [tgz] |
---|---|---|
author | Varun Shah <varunshah@google.com> | Fri Jan 11 18:47:49 2019 -0800 |
committer | Varun Shah <varunshah@google.com> | Fri Jan 11 18:47:49 2019 -0800 |
tree | a02d1bb04d102baf051e92f5086a8c93bcb7bf58 | |
parent | 2eb6fec2d1cff4efb24a584aef3eef35b85e9a1a [diff] |
Adding a cache variable for ActivityManagerInternal. Adding a cache variable for the ActivityManagerInternal local service that is fetched on every call of isAppForeground. This change is an update to ag/5932523 to increase boot time performance. Also updating the relevant tests since an exception is not thrown anymore from calling isAppForeground. Bug: 122591875 Test: atest WifiServiceImplTest Test: atest WifiLockManagerTest Change-Id: I0330ca2a6584c32496968f374a79c2c8f297ed68