diff options
author | Jorim Jaggi <jjaggi@google.com> | 2015-09-25 06:54:42 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2015-09-25 06:54:42 +0000 |
commit | ea9675e7aa11219d426a3c0ab3929ea16a34a4c7 (patch) | |
tree | 3a533543e99bc2c60d0f187f92029f06f80a751a /services | |
parent | 65bfe1cac3297d3d4463db753c0397f28c872637 (diff) | |
parent | 3b3cbb5325e1a8bce09200644b5667fb321d9b90 (diff) | |
download | frameworks_base-ea9675e7aa11219d426a3c0ab3929ea16a34a4c7.zip frameworks_base-ea9675e7aa11219d426a3c0ab3929ea16a34a4c7.tar.gz frameworks_base-ea9675e7aa11219d426a3c0ab3929ea16a34a4c7.tar.bz2 |
Merge "Do not issue config change command when not needed" into mnc-dr-dev
Diffstat (limited to 'services')
-rw-r--r-- | services/core/java/com/android/server/display/LocalDisplayAdapter.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/core/java/com/android/server/display/LocalDisplayAdapter.java b/services/core/java/com/android/server/display/LocalDisplayAdapter.java index be37f52..088d96e 100644 --- a/services/core/java/com/android/server/display/LocalDisplayAdapter.java +++ b/services/core/java/com/android/server/display/LocalDisplayAdapter.java @@ -544,7 +544,7 @@ final class LocalDisplayAdapter extends DisplayAdapter { physIndex = findDisplayInfoIndexLocked(colorTransformId, modeId); } } - if (physIndex > 0 && mActivePhysIndex == physIndex) { + if (mActivePhysIndex == physIndex) { return; } SurfaceControl.setActiveConfig(getDisplayTokenLocked(), physIndex); |