Skip to content
Commit 1df72db2 authored by Sudheer Shanka's avatar Sudheer Shanka
Browse files

Fix NPE when querying for already uninstalled package.

It's possible that by the time StorageManagerService receives
the opChanged() callback, the package whose appop was allowed/denied
has already been uninstalled.

Bug: 133442691
Test: manual
Test: atest android.permission2.cts.RestrictedPermissionsTest
Test: atest cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ExternalStorageHostTest.java
Change-Id: Ia032fe174c8796cafffba22036c2afe974c7dea8
parent fb162ef0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment