diff options
author | Zhen Zhang <zzhen@google.com> | 2021-04-15 14:12:59 -0700 |
---|---|---|
committer | Zhen Zhang <zzhen@google.com> | 2021-04-15 14:59:55 -0700 |
commit | 0d07ec01ea344aaa1968799d62873b8202b5a338 (patch) | |
tree | 0d37a14640fae2b089c146520efc194511d25f18 /libs/hwui/WebViewFunctorManager.cpp | |
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
Diffstat (limited to 'libs/hwui/WebViewFunctorManager.cpp')
0 files changed, 0 insertions, 0 deletions