commit | 9323df6e469de5002cae168d24d776e79d7f6f4c | [log] [tgz] |
---|---|---|
author | Jeff Sharkey <jsharkey@android.com> | Mon Apr 11 16:20:25 2016 -0600 |
committer | Jeff Sharkey <jsharkey@android.com> | Mon Apr 11 16:20:27 2016 -0600 |
tree | 341b3285f7c65e2201d16936e596204b1b222777 | |
parent | 100bd9c24a06e3b139ad51526c3eec9cbcff68ee [diff] |
Use callerPackage instead of callerApp. When AlarmManager sends a broadcast, it only knows the packageName that requested the broadcast, and the callerApp may not even be running anymore. Since we only need the package name for enforcement, use that instead of the possibly null callerApp. Bug: 27397019 Change-Id: I8a52d73b4a83eebf85aa1adbfe06bd8886814d4b