replicant-frameworks_native/services
Tatenda Chipeperekwa 40da48bfdf sf: Add a NULL check in getDisplayConfigs
Validate the display binder by adding a NULL check in getDisplayConfigs.
This will prevent a false match if the caller queries the display
configs for an inactive display (whose binder is NULL by default).

Without this change we might end up attempting to index the display
config array, which is unpopulated for inactive displays, and this will
result in a crash. (See getDisplayInfo in SurfaceComposerClient.cpp for
an example of this scenario)

Change-Id: Ib32a7dc8378d3438df0dba1ecd608bbcfc837717
2015-06-11 12:28:41 -07:00
..
batteryservice Replace IInterface::asBinder() with a static 2014-11-17 08:47:01 -08:00
inputflinger Check orientation range has been initialized first 2015-04-14 19:49:28 +09:00
powermanager Frameworks/native: Wall Werror in batteryservice & powermanager 2014-11-13 14:31:11 -08:00
sensorservice am 46ca041f: Merge "Don\'t error out because SensorEventConnection::dump overloads BBinder::dump" 2014-11-25 23:55:52 +00:00
surfaceflinger sf: Add a NULL check in getDisplayConfigs 2015-06-11 12:28:41 -07:00