Skip to content
Commit a9262a0b authored by shafik's avatar shafik
Browse files

Always kill app when M_E_S is denied

StorageManagerService gets notified that MANAGE_EXTERNAL_STORAGE was
denied from AppOpsService#setUidMode, which means that we can't get the
package name. However, SMS only kills the app if it has the package
name.
This is unnecessary since we use ActivityManager#killUid.

This change removes the conditions that package name should be provided
in order for SMS to kill the app.

Test: manual - check bug
Fix: 160253075
Change-Id: I0a411cf5224714c09744ffd3ade14267024efb67
parent 16868fbe
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