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:
@@ -767,6 +767,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
|
|||||||
private final Runnable mUpdateRotationRunnable = new Runnable() {
|
private final Runnable mUpdateRotationRunnable = new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
// send interaction hint to improve redraw performance
|
||||||
|
mPowerManagerInternal.powerHint(PowerManagerInternal.POWER_HINT_INTERACTION, 0);
|
||||||
updateRotation(false);
|
updateRotation(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user