replicant-frameworks_native/services
Tatenda Chipeperekwa cda438d95e sf: Change log message in layer query method from ALOGE to ALOGW
This error can be seen for the following use case

1. Connect HDMI display
2. Dump the SurfaceFlinger state

The problem here is that HWComposer would have processed the display
connection event via the hotplug mechanism and considers that the
external display is connected. However, SurfaceFlinger has not
updated its internal state (mDisplays) since it will be waiting for
the mStateLock to be release by the dump function. As a result, when
the dump function invokes the getLayerSortedByZForHwcDisplay for the
external display, we will end up seeing the error log message because
SurfaceFlingers internal state has not yet been updated.

We can move this to ALOGW since it is a non-fatal/recoverable state.

CRs-Fixed: 914173
Change-Id: Ib0ba359ecd894dd463417ba57ba1f72c07b5833e
2016-01-08 21:01:02 -08:00
..
batteryservice Android 6.0.0 release 26 2015-11-05 01:41:42 +00:00
inputflinger Android 6.0.1 release 3 2015-12-07 17:07:16 -08:00
powermanager Frameworks/native: Wall Werror in batteryservice & powermanager 2014-11-13 14:31:11 -08:00
sensorservice Android 6.0.1 release 3 2015-12-07 17:07:16 -08:00
surfaceflinger sf: Change log message in layer query method from ALOGE to ALOGW 2016-01-08 21:01:02 -08:00