summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorkwaky <kwaky@google.com>2020-07-08 19:34:17 -0700
committerkwaky <kwaky@google.com>2020-07-10 11:10:05 -0700
commit8ea210c48f6d80c2631bbaf2a1902124acdb3c29 (patch)
treeec58999ff5dd4654ebc7297ea301bb10c3e3bc9f /tools/aapt2/java/JavaClassGenerator_test.cpp
parente4c1cb514c9cc472ee5a519bf4f8416f1fa90d45 (diff)
Add null check for resolveInfo and Automotive feature.
AAOS uses multi-user model, and apps become queriable after user is unlocked. Thus we need to make sure that the querying happens at the right time with the right user with resolveActivityAsUser. In order not to affect the stability, we can use the null check + Automotive check for R. This null check + Automotive check can be removed when resolving Activity as User is implemented in S+. Bug: 158508455 Test: Manual Change-Id: I58e37f795136508ef7bb53c40214ed3c76f588bf
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions