summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-03-03 18:12:10 +0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2020-03-19 04:52:02 +0000
commit5deb172bf4d9e2b80cda0b8dd5d2b0573e1c86e9 (patch)
tree20eac22c47f71643097c70f0ccee6cf8c0dba6b8 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent058cafe0c1f61e8edd25ba22e2c8e73a43c5d4ad (diff)
RESTRICT AUTOMERGE Use consistent calling uid and package in navigateUpTo
Originally, if the caller of navigateUpTo is alive, even the calling uid is set to the caller who launched the existing destination activity, the uid from caller process has higher priority to replace the given calling uid. So this change doesn't modify the existing behavior if the caller process is valid. Besides, the case of delivering new intent uses the source record as calling identity too, so the case of starting new activity should be consistent. Also forbid attaching null application thread to avoid unexpected state in process record. Bug: 144285917 Test: atest ActivityStackTests#testNavigateUpTo Change-Id: I60732f430256d37cb926d08d093581f051c4afed (cherry picked from commit 8a2c62c2867d30dd2065096b63512d2861ebae51)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions