commit | 639360aa261874a7dfa9e95e4b468ff1e860528d | [log] [tgz] |
---|---|---|
author | Hai Zhang <zhanghai@google.com> | Mon May 20 15:35:33 2019 -0700 |
committer | Hai Zhang <zhanghai@google.com> | Mon May 20 15:35:33 2019 -0700 |
tree | 9f9fe5b1abe5a00c923819f29a8f1154c2891008 | |
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