diff options
author | Chong Zhang <chz@google.com> | 2016-06-09 16:15:27 -0700 |
---|---|---|
committer | Chong Zhang <chz@google.com> | 2016-06-09 16:38:51 -0700 |
commit | d25944e120aa9029aa6b5cb89f5f08fd95afdbbc (patch) | |
tree | a981dfd503a13a453e5ef22b5b8d6002019e2b6d /docs/html/sdk/api_diff/24/changes | |
parent | c0b602c441337f9597959a02262de525b1793a94 (diff) |
Use user id 0 to get missing appId for debugger
When forceStopPackageLocked is used to kill existing app process for
relaunching with debugger, user id could be -1 and getPackageUid will
already return -1. This results in killPackageProcessesLocked() not
able to find and kill the app, and wait for debugger will.
This also revert commit 55c9d739 (ag/969408) which tried to fix the
same problem but got it wrong. It's valid to -D when the process is
already running, as we're supposed to kill it. The really problem is
that the killing fails because of bad appId.
bug: 28980761
Change-Id: Ibebdcc26865464216a1f4b6773e540921cdad7d2
Diffstat (limited to 'docs/html/sdk/api_diff/24/changes')
0 files changed, 0 insertions, 0 deletions