summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorHongwei Wang <hwwang@google.com>2020-09-23 13:18:35 -0700
committerHongwei Wang <hwwang@google.com>2020-09-23 13:22:38 -0700
commit3de034371b86cfc02121c5ff091d6ccec8596501 (patch)
treeb51c9d39556126995c0d97b1c211051966cdcde0 /tools/aapt2/java/JavaClassGenerator.cpp
parent7d2354bdc5bae1fa2af45b9b9a1bc5c6b029da02 (diff)
[DO NOT MERGE] Bail early if mToken.asBinder() not found
Not able to reproduce what's in the original bug report, this null check is added as a safe guard. A possible scenario is PipTaskOrganizer#exitPip is called twice and there is a race condition that the first applySyncTransaction is not ready yet and leave the internal state as it was, the second call tries to get configuration and it is null, which leads to a NPE. Bug: 169173459 Test: N/A Change-Id: Ie5292e8749bc186fba930dfee59c26d10ea680cd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions