summaryrefslogtreecommitdiff
path: root/tools/aapt2/ResourceTable.cpp
diff options
context:
space:
mode:
author lijilou <lijilou@xiaomi.corp-partner.google.com> 2024-12-02 16:54:58 +0800
committer lijilou <lijilou@xiaomi.corp-partner.google.com> 2024-12-05 14:28:26 +0800
commit92c98a7d50c754a32e416356e981d7fd239455c7 (patch)
tree93b8fbdb5d3dd22f6ec9ee2da4e25c04d3c9e2a8 /tools/aapt2/ResourceTable.cpp
parent1adb0dbc95b74059058a26c01800db9603038409 (diff)
ATMS: fix the NPE problem in case the dream activity fails to start.
When start the dream activity: Firstly, the activityrecord of the dream activity is first created in the executeRequest method, and the task of the activityrecord is empty at this time. Secondly, the startActivityInner method is called to create or get the task, but before calling the setNewTask method, there may be some startup failures, so the task of the activityrecord is still empty at this time. Finally, our solution is to determine the result of launching the activity. Test: OEM monkey test Flag: EXEMPT bugfix Bug: 381804032 Change-Id: Id7b78f2403580d752609b43fcb24a084b8a91818
Diffstat (limited to 'tools/aapt2/ResourceTable.cpp')
0 files changed, 0 insertions, 0 deletions