commit | d56c6bdfa91fa06bcfbb669e3c3acac61712f7ba | [log] [tgz] |
---|---|---|
author | Philip P. Moltmann <moltmann@google.com> | Thu Apr 25 16:09:03 2019 -0700 |
committer | Philip P. Moltmann <moltmann@google.com> | Thu Apr 25 16:19:20 2019 -0700 |
tree | 7269f9d344c7e5270daf969488d68f2ba94f8cec | |
parent | c74d6b563b4bc053733860ca4070c112919499d1 [diff] |
Don't use Context#getApplicationContext as this might be null. In PermissionControllerManager we need a context that outlives the passed in context as we bind to a service that will only get destroyed after a delay. Test: atest PermissionControllerTest Bug: 131356152 Change-Id: Iabeac669f6464b84a4b9e8f9b2a27959b116c25b