diff options
author | Mathias Agopian <mathias@google.com> | 2012-10-08 15:12:36 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-10-09 14:49:01 -0700 |
commit | 3292cae8c37fc8d7cd8bf77fafaa55e6fc7a8cc5 (patch) | |
tree | b475993b83107d821c5c2b7414f7301f8e216461 /services | |
parent | 2a09bb321930e1f782599ec902bca1db58b9af77 (diff) | |
download | frameworks_native-3292cae8c37fc8d7cd8bf77fafaa55e6fc7a8cc5.zip frameworks_native-3292cae8c37fc8d7cd8bf77fafaa55e6fc7a8cc5.tar.gz frameworks_native-3292cae8c37fc8d7cd8bf77fafaa55e6fc7a8cc5.tar.bz2 |
don't automatically unblank external displays
this should be handled by the display-manager. we were doing
that in SF because until recently we didn't have enough support
in the HAL. however, this is now causing other problems when
plugging hdmi while the screen is off for instance.
Bug: 7150885
Change-Id: I739b209056a765d38d05295cf202f67ee0f506ae
Diffstat (limited to 'services')
-rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 8367417..17c67f9 100644 --- a/services/surfaceflinger/SurfaceFlinger.cpp +++ b/services/surfaceflinger/SurfaceFlinger.cpp @@ -1212,12 +1212,6 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags) state.viewport, state.frame); hw->setDisplayName(state.displayName); mDisplays.add(display, hw); - if (hw->getDisplayType() < DisplayDevice::NUM_DISPLAY_TYPES) { - // notify the system that this display is now up - // (note onScreenAcquired() is safe to call from - // here because we're in the main thread) - onScreenAcquired(hw); - } } } } |