• R/O
  • HTTP
  • SSH
  • HTTPS

提交

標籤
無標籤

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

frameworks/base


Commit MetaInfo

修訂35f1a3719f0a47af186360eda12dd971d4544c79 (tree)
時間2014-08-27 19:19:15
作者Kyle Evans <kevans@andr...>
CommiterChih-Wei Huang

Log Message

PowerManagerService: disable display blanking on suspend

workaround for a black screen that SurfaceFlinger never recovers from.
Plus, the kernel does this anyway.

Change Summary

差異

--- a/services/java/com/android/server/power/PowerManagerService.java
+++ b/services/java/com/android/server/power/PowerManagerService.java
@@ -2715,7 +2715,6 @@ public final class PowerManagerService extends IPowerManager.Stub
27152715 public void blankAllDisplays() {
27162716 synchronized (this) {
27172717 mBlanked = true;
2718- mDisplayManagerService.blankAllDisplaysFromPowerManager();
27192718 nativeSetInteractive(false);
27202719 nativeSetAutoSuspend(true);
27212720 }
@@ -2726,7 +2725,6 @@ public final class PowerManagerService extends IPowerManager.Stub
27262725 synchronized (this) {
27272726 nativeSetAutoSuspend(false);
27282727 nativeSetInteractive(true);
2729- mDisplayManagerService.unblankAllDisplaysFromPowerManager();
27302728 mBlanked = false;
27312729 }
27322730 }