Skip to content
Commit 0d07ec01 authored by Zhen Zhang's avatar Zhen Zhang
Browse files

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
parent b2cc9c94
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment