summaryrefslogtreecommitdiffstats
path: root/services
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2015-10-02 20:43:30 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-10-02 20:43:30 +0000
commit791763796e5f21e34c3ae81c1faad2a4c1a515dd (patch)
treefa567474566a38e5c02942b6dfcf6165bca418e9 /services
parent8c66fa94361b51f39f87530f6d1f714120437cc6 (diff)
parent1f407647d1ac45dc8b8bb7f388c8bae38cd82ea3 (diff)
downloadframeworks_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.java2
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);
}
};