commit | 0d07ec01ea344aaa1968799d62873b8202b5a338 | [log] [tgz] |
---|---|---|
author | Zhen Zhang <zzhen@google.com> | Thu Apr 15 14:12:59 2021 -0700 |
committer | Zhen Zhang <zzhen@google.com> | Thu Apr 15 14:59:55 2021 -0700 |
tree | 0d37a14640fae2b089c146520efc194511d25f18 | |
parent | b2cc9c945bda4d0b5d7f7bb15c907f5cb2ae3d28 [diff] |
Refactor isAppHibernationEnabled check in AppHibernationService Directly return the static field to avoid querying DeviceConfig everytime. Bug: 181183614 Test: atest AppHibernationServiceTest Test: atest CtsWindowManagerDeviceTestCases:ActivityMetricsLoggerTests Test: atest CtsStatsdAtomHostTestCases:AppStartStatsTests Change-Id: Id01a701dadb76655a24effbd9d3ce011d7f2f686