summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/AnnotationProcessor.cpp
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2020-09-28 23:17:37 -0700
committerPeiyong Lin <lpy@google.com>2020-12-15 17:54:45 +0000
commitd22eebefdb87f6bb1d05d43c08105bef4e0954e0 (patch)
treee7bc24e86aeb147896d3a4ffc4c274d2faea9cbb /tools/aapt2/java/AnnotationProcessor.cpp
parent11ed014edf98d43a70ed42da6a6e6dddb21f8b2d (diff)
[GraphicsEnvironment] Avoid null access.
Currently when debug layer apk is not installed, GraphicsEnvironment logs the message and proceeds, which results in null pointer access crash when later trying to access primaryAbi. Avoid null access by an early return statement. Bug: b/175699044 Test: specify not installed debug layer apk and no crash Change-Id: I4f3b86b0a8cfff4fc608b3a59ebf0872db0465ff Merged-In: I4f3b86b0a8cfff4fc608b3a59ebf0872db0465ff (cherry picked from commit c5c17e66ba236bcd44240308dfcf4fe0a794ccbd)
Diffstat (limited to 'tools/aapt2/java/AnnotationProcessor.cpp')
0 files changed, 0 insertions, 0 deletions