OSDN Git Service

Don't assume layers exist when prop is set
authorMichael Lentine <mlentine@google.com>
Thu, 19 Nov 2015 02:28:07 +0000 (18:28 -0800)
committerJesse Hall <jessehall@google.com>
Mon, 25 Jan 2016 21:49:31 +0000 (13:49 -0800)
commit233ac731b66da49e2f6611ed8c4ffcdcf893066b
tree95b2ed317974f726d4ebd3fcf68e18848afb9e7a
parent3f8524e0d0bc20286484b2d81fddae4fe27fb64b
Don't assume layers exist when prop is set

Previously we assumed that layers were valid when set via adb
shellprop but instead we should make sure they exist first. If they
don't ignore it and continue.

Change-Id: I161b7afa58e747080a9eeb112f933976a381b4c0
(cherry picked from commit c9625127034ab237da69d7da766e20d666545b13)
vulkan/libvulkan/loader.cpp