Revert removal of power hint from PowerManager.aidl
Reverts all changes on PowerManagerService.cpp and bring back power hint methods and usages. This cl stops using the new PowerHalController, to confirm it is the cause of the perf regression from b/157483189. Once confirmed it can be reintroduced later once the root cause is fixed within the new code. Forrest run: https://android-build.googleplex.com/builds/forrest/run/L68600000629276407 android.platform.test.scenario.sysui.power.PowerMenuMicrobenchmark#testPower_verifySystemPowerMenuAppears gfxinfo_com.android.systemui_jank_percentile_95-mean:12.28 Bug: b/157483189 Test: atest FrameworksServicesTests:PowerManagerServiceTest Change-Id: Id087f6867174a15c74617f3bb1cccb3569a358ac
Loading
Please register or sign in to comment