mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-04 18:05:04 +00:00
chcon without -R
This commit is contained in:
parent
42b3354d43
commit
c44690e530
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class RootSplitInstallerService: Service() {
|
|||
|
||||
//set chcon to apk_data_file
|
||||
private fun chConV(path: String): Boolean {
|
||||
val response = Shell.su("chcon -R u:object_r:apk_data_file:s0 $path").exec()
|
||||
val response = Shell.su("chcon u:object_r:apk_data_file:s0 $path").exec()
|
||||
//val response = Shell.su("chcon -R u:object_r:system_file:s0 $path").exec()
|
||||
return if(response.isSuccess) {
|
||||
true
|
||||
|
|
Loading…
Reference in a new issue