summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2020-01-28 15:09:33 -0800
committerTomasz Wasilczyk <twasilczyk@google.com>2020-02-03 17:21:39 +0000
commitf83594ce422bb487eebc6c2a3627de273a6c8fe7 (patch)
tree00ea5e4aedad494a71aadeae75cec90d6fb5342e /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9b87773b6007f7f8dc7fa3697823f4ca5e3e16ee (diff)
Don't crash system process on empty onTuneFailed
This change: - modifies internal programSelectorFromHal to return null instead of throwing NPE on empty input - throws NPE on two of its usages where null is unexpected - *does not* throw NPE on one usage where program selector is optional (onTuneFailed in RadioModule.java) Bug: 147522441 Test: boots, but have no quick way to trigger onTuneFailed(Result::error, {}) Change-Id: I6317da3fbde2bce90079b61bb0839e893e1c4712 (cherry picked from commit dc8a5683a149b4f5ce3d9a9f6198fbe310547dbf)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions