commit | 6b1dfaab6c5155b4cd15c0d5325fe37b56c481cb | [log] [tgz] |
---|---|---|
author | Tony Liu <liutony@google.com> | Wed Sep 01 03:03:28 2021 +0000 |
committer | Tony Liu <liutony@google.com> | Wed Sep 01 03:41:10 2021 +0000 |
tree | ef4d7f78092e475b36e6b793103a181205c7b266 | |
parent | 18a62c26a9a67b47a08d38d411c15fe7848e67e9 [diff] |
Kill app process for current user in app_profiler.py. Currently, app_profiler.py will crash if an app is running for multiple users at the same time because two PIDs are returned but only one PID is expected. This change fixes the crash by only returning a single PID for the current user detected by `am get-current-user`. Bug: 197706734 Change-Id: Ia59e214af256e28def6b82099913cc5e953ec715