commit | e68d4ec3b6069fafd9a3eebfaf6f20e5720af3dd | [log] [tgz] |
---|---|---|
author | Tony Mak <tonymak@google.com> | Tue Aug 27 19:22:23 2019 +0100 |
committer | Tony Mak <tonymak@google.com> | Tue Aug 27 19:28:29 2019 +0100 |
tree | 0ac4ae0c7f924bcf8ea6037b4ec99c3598101965 | |
parent | 29590c3c1c329d358ae077a4c39ef93a2ce8e2d4 [diff] |
Fix NPE in ExtServices getSystemService(PackageManager.class) returns null. We should call context.getPackageManager() instead. Test: Posts a notification, no more NPE. And verified that smart actions feature is working. Fixes: 139939548 Bug: 138589409 Change-Id: I8db737183ae5a7efd10a6a292c6517825da21e89