summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorShivam Agrawal <shivamagrawal@google.com>2021-12-07 13:45:23 -0500
committerShivam Agrawal <shivamagrawal@google.com>2021-12-07 13:45:23 -0500
commitf382049442af524b4dbfb6f0761fad910347d405 (patch)
tree26a56b45aa5d723f6e11fa031dae565194c8a715 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentb344d335610bc04eb2b1bc2f815587b80fe10f5a (diff)
Fix NPE in SplitController#startActivityToSide
SplitController#startActivityToSide is called from SplitController#launchPlaceholderIfNecessary with a null value for the failure callback. If the activity launch to side fails, then startActivityToSide tries to pass the failure to the failure callback, which is null. This CL fixes this bug by checking if the failure callback is null. Bug: b/209296363 Test: existing tests pass Test: launch settings app from overview and observe no crash Change-Id: I6577d992f48acbaae6b0e9776e65933e779defe3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions