diff options
author | Kevin Han <kevhan@google.com> | 2021-04-19 14:26:11 -0700 |
---|---|---|
committer | Kevin Han <kevhan@google.com> | 2021-04-19 14:26:11 -0700 |
commit | 7e56f8dad437914da496e98f698a8f3b62ffef8e (patch) | |
tree | d25b372c588a87dcb86b7e72fae8c5368be1757e /tools/aapt2/java/JavaClassGenerator_test.cpp | |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions