權限授予狀態保存在下面文件:
/data/system/users/0/runtime-permissions.xml
調試技巧:
1. 在設置/應用管理中強行停止app
2. 清除存儲
3. touch /data/f1
4. 啓動應用並授權
5. find /data -newer /data/f1 : 查看有哪些文件被修改了
權限授予狀態保存在下面文件:
/data/system/users/0/runtime-permissions.xml
調試技巧:
1. 在設置/應用管理中強行停止app
2. 清除存儲
3. touch /data/f1
4. 啓動應用並授權
5. find /data -newer /data/f1 : 查看有哪些文件被修改了