summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Mike Ma <yanmin@google.com> 2020-02-07 12:29:46 -0800
committer Mike Ma <yanmin@google.com> 2020-02-07 12:35:04 -0800
commit285aac19abe088ca9461219495fda5c038b94a11 (patch)
tree3e5888dc7509c42ddce2b997a3660896b9f1f406 /vulkan/libvulkan/api.cpp
parent144cb00a1c43b52358085994353dd24c3a710312 (diff)
Skip dump proto when initCheck fails
Sometimes sensorservice is not initialized when calling dumpProto. Add this check to prevent NPE, which aligns with what text dump does. Fixes: 149019631 Test: Manual Change-Id: Id8c2dcd242b04e2bf3ef948690d88760f3bd08c8
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions