diff options
author | Riddle Hsu <riddlehsu@google.com> | 2021-06-30 06:01:06 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2021-06-30 06:07:09 +0800 |
commit | 0b2d6e1aa330ad4054fd78fd35c2afde9ba64270 (patch) | |
tree | 4e9da32bb6a6d8828afaf4e8b2d32ddbeb0ec146 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6f383b1b8e5d3a4c798e840136e2a59b8483b024 (diff) |
Return invalid task id if no acceptable target app
No matter the app is not found or has different uid, return
the invalid id to indicate that the add operation is failed.
So the caller won't know whether the specified package exists
or not.
Bug: 189122913
Test: Pass intent with specified component name to
ActivityManager#addAppTask.
Change-Id: I013264414c60f2d9864a5fcc369180425f20529e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions