diff options
author | Hai Zhang <zhanghai@google.com> | 2019-05-20 15:35:33 -0700 |
---|---|---|
committer | Hai Zhang <zhanghai@google.com> | 2019-05-20 15:35:33 -0700 |
commit | 639360aa261874a7dfa9e95e4b468ff1e860528d (patch) | |
tree | 9f9fe5b1abe5a00c923819f29a8f1154c2891008 /startop/scripts/lib/cmd_utils.py | |
parent | 738c98232cd8489becf100a148d619c11ca05fa7 (diff) |
Handle callingPackageName being null properly in checkStartActivity().
callingPackageName can actually be null when started via command line,
etc. Previously the getApplicationInfo() call will fail if package
name is null and we'll ignore it so there won't be a crash, but it's
still better to handle it properly.
Bug: 131204827
Test: presubmit
Change-Id: I33ba43c28798226bed925940c2ffd09622372d09
Diffstat (limited to 'startop/scripts/lib/cmd_utils.py')
0 files changed, 0 insertions, 0 deletions