I need to change the permissions of the application through ADB Shell. When you enter and activate the command, no errors appear, I switch to the application permissions settings, everything remains the same ...
I enter the following commands:
adb -d shell pm revoke com.myapp.test android.permission.SEND_SMS adb -d shell pm revoke com.myapp.test android.permission.RECEIVE_SMS adb -d shell pm revoke com.myapp.test android.permission.READ_SMS adb -d shell pm revoke com.myapp.test android.permission.RECEIVE_WAP_PUSH adb -d shell pm revoke com.myapp.test android.permission.RECEIVE_MMS Device: Xiaomi Redmi 5 MIUI 10 China Stable Android 7.1.2 Device, has ROOT