Update PowerProfile to support multidisplay devices
Replaced the display related power constants with new ones that support multidisply. The legacy constants are marked as UnsupportedAppUsage, so they have not been removed yet and they attempting to read them will return the power constant values for the first display. Fixes: 200226329 Test: atest com.android.internal.os.PowerProfileTest#testPowerProfile Test: atest FrameworksCoreTests:com.android.internal.os.BatteryStatsTests Change-Id: Id181443bd6f553ee37fc4a1647d31644fcad7912
Loading
Please register or sign in to comment