Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev

This commit is contained in:
Tim Murray
2015-10-02 20:43:30 +00:00
committed by Android (Google) Code Review

View File

@@ -767,6 +767,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
private final Runnable mUpdateRotationRunnable = new Runnable() {
@Override
public void run() {
// send interaction hint to improve redraw performance
mPowerManagerInternal.powerHint(PowerManagerInternal.POWER_HINT_INTERACTION, 0);
updateRotation(false);
}
};