diff options
author | Tim Murray <timmurray@google.com> | 2015-10-02 20:43:30 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-10-02 20:43:30 +0000 |
commit | 791763796e5f21e34c3ae81c1faad2a4c1a515dd (patch) | |
tree | fa567474566a38e5c02942b6dfcf6165bca418e9 /services | |
parent | 8c66fa94361b51f39f87530f6d1f714120437cc6 (diff) | |
parent | 1f407647d1ac45dc8b8bb7f388c8bae38cd82ea3 (diff) | |
download | frameworks_base-791763796e5f21e34c3ae81c1faad2a4c1a515dd.zip frameworks_base-791763796e5f21e34c3ae81c1faad2a4c1a515dd.tar.gz frameworks_base-791763796e5f21e34c3ae81c1faad2a4c1a515dd.tar.bz2 |
Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/policy/PhoneWindowManager.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/policy/PhoneWindowManager.java b/services/core/java/com/android/server/policy/PhoneWindowManager.java index 5c11800..495346a 100644 --- a/services/core/java/com/android/server/policy/PhoneWindowManager.java +++ b/services/core/java/com/android/server/policy/PhoneWindowManager.java @@ -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); } }; |