summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2018-04-03 13:16:58 +0100
committerKenny Guy <kennyguy@google.com>2018-04-03 13:22:13 +0100
commit637f8be6b6156b2dbcdccca4e9408b180ed1e7c5 (patch)
tree78ca5af06534f9e5f25e3ce23bbf4ee5b5d1bbfd /tools/aapt2/java/JavaClassGenerator_test.cpp
parent07a75e0f9f93980ea52e3ff337c8f4da504fb8e2 (diff)
Avoid null pointer when in getAmbientBrightnessStats
Check whether the tracker has been started before trying to return stats. Add unit test to check empty lists are returned rather than null. Bug: 76008231 Test: atest BrightnessTrackerTest Change-Id: Icc7ef0ee43a95eb182cb1b0b9452f122363e67ba
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions