Don't call setPowerBoost directly from native code
android_server_PowerManagerService_userActivity may call setPowerBoost twice, one is from native, another is from Java. This is unnecessary, and Java side has more callers and has own throttle, so this change removes directly calling setPowerBoost from native code. Bug: 306012591 Test: presubmit Change-Id: I5ba262719c2d361d80c598cb28e5c5ab066efb0f
Loading
Please register or sign in to comment