commit | 7e56f8dad437914da496e98f698a8f3b62ffef8e | [log] [tgz] |
---|---|---|
author | Kevin Han <kevhan@google.com> | Mon Apr 19 14:26:11 2021 -0700 |
committer | Kevin Han <kevhan@google.com> | Mon Apr 19 14:26:11 2021 -0700 |
tree | d25b372c588a87dcb86b7e72fae8c5368be1757e | |
parent | d560996d0fc45d685f89d0e9deb0fd84f13c7509 [diff] |
Fix broken hibernation test ag/14203210 made isAppHibernationEnabled use a cached value rather than query device config every time. This happened to break a test that relied on mocking the DeviceConfig value. We update the static value directly to ensure the feature is enabled in the test. Bug: 185730191 Test: atest PackageManagerServiceHibernationTests Change-Id: Icf7d5bedba69cc5af7df2d38bf5088cb08b5cfb6