Send POWER_HINT_INTERACTION on rotate.
Send a POWER_HINT_INTERACTION to improve redraw performance when the phone is rotated. bug 24583227 Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001
This commit is contained in:
@@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user