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

* commit '791763796e5f21e34c3ae81c1faad2a4c1a515dd':
  Send POWER_HINT_INTERACTION on rotate.
This commit is contained in:
Tim Murray
2015-10-02 20:48:04 +00:00
committed by Android Git Automerger

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);
}
};