summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorTim Van Patten <timvp@google.com>2019-04-08 17:30:17 -0600
committerCody Northrop <cnorthrop@google.com>2019-04-19 20:31:01 +0000
commit5973ec96780bbe39dadabd5d0dbd9922128ccc4a (patch)
tree69581b0f6a05dc4f995e44eecf3b5d3170032631 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7abea9fa92bbb525fb9bf12eafb39622cf44ed9a (diff)
Verify Bundle is not null before using it
It's possible the Bundle has not been initialized when determining if the ANGLE dialog box should be shown, due to how early that check is performed. This change will verify the Bundle is not null before using it and fall back to using the Context if it is. Bug: 130185493 Test: atest CtsAngleIntegrationHostTestCases Test: Enable Toast Message and then atest CtsAngleIntegrationHostTestCases Change-Id: I39f48bdf20616298c66b2bb36082149cb24e908c (cherry picked from commit 5da6a95eab7e80c510cd211e0117d5327ebae55a)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions