Skip to content
Commit 0b2d6e1a authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 6f383b1b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment