mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: current
is not supposed to be there
This commit is contained in:
parent
393ccb822e
commit
a832e4d6dc
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ class ShizukuInstaller(private val context: Context, val finishedQueue: (Shizuku
|
|||
context.contentResolver.openInputStream(entry.uri)!!.use {
|
||||
val createCommand = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
val userId = Process.myUserHandle().hashCode()
|
||||
"pm install-create --user $userId current -r -i ${context.packageName} -S $size"
|
||||
"pm install-create --user $userId -r -i ${context.packageName} -S $size"
|
||||
} else {
|
||||
"pm install-create -r -i ${context.packageName} -S $size"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue