replicant-frameworks_native/services/surfaceflinger/DisplayHardware
Naseer Ahmed 949ea0868d sf: Clear display configs when hot pluggable display is disconnected
Display configs for external displays are stored in the framework
everytime we receive a hot plug to connect. However, since the
configs are not cleared on disconnect, framework will just assume
that the configs are valid. This does not work for use cases when
you connect/disconnect external displays with different resolutions.

e.g. 1080p to 4K and vice-versa

With this change we clear the display configs and repopulate when
we receive a hot plug to connect.

Change-Id: I2eeab186a8d8668a53390a2413b2ce5e044a1845
Acked-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2014-08-20 15:10:14 -07:00
..
DisplaySurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00
FloatRect.h fix SF buffer cropping 2013-07-10 15:08:29 -07:00
FramebufferSurface.cpp am d4dabf87: am cdbf28b3: Merge "native frameworks: 64-bit compile issues" 2014-03-13 23:12:09 +00:00
FramebufferSurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00
HWComposer.cpp sf: Clear display configs when hot pluggable display is disconnected 2014-08-20 15:10:14 -07:00
HWComposer.h Modified SurfaceFlinger to implment setActiveConfig and getActiveConfig. 2014-07-29 16:56:30 +00:00
PowerHAL.cpp SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
PowerHAL.h SurfaceFlinger: send VSYNC power hints to IPowerManager 2014-06-18 18:51:24 -07:00
VirtualDisplaySurface.cpp Build fix to use the correct source. 2014-07-30 15:39:17 -07:00
VirtualDisplaySurface.h Allow for resizing of Virtual Displays. 2014-07-30 14:36:25 -07:00