Go to file
Naseer Ahmed 7aa0c47e42 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: I1a12f43b7c375b9c01998dadd5b658275c733fb2
Acked-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
2014-11-03 12:16:18 -08:00
build Add Dalvik heap definition for 7" xhdpi devices. 2013-05-06 15:06:20 -07:00
cmds atrace: fix Sync Manager tracing preventing enabling of kernel sync tracing 2014-10-27 13:07:58 -07:00
data/etc am 60d31a0f: am 3c648e37: Update comment to use correct GPS file for wearable. 2014-09-19 22:02:37 +00:00
include Merge "surfaceflinger: fix -Wmismatched-tags warnings" into lmp-mr1-dev 2014-10-31 16:58:45 +00:00
libs Fix crash when user provides large values in the Parcel. 2014-10-31 16:08:44 -07:00
opengl Add rate-limited logging for unimplemented es functions. 2014-09-23 08:30:12 -07:00
services sf: Add a NULL check in getDisplayConfigs 2014-11-03 12:16:18 -08:00
MODULE_LICENSE_APACHE2
NOTICE resolved conflicts for merge of adee6b35 to honeycomb-plus-aosp 2011-01-17 14:17:12 -08:00