mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
simplify code of getting file
optimize animation
This commit is contained in:
@@ -9,16 +9,9 @@ var selectedPackage = ""
|
||||
var applySelectedPackage = false
|
||||
var selectedPermission = ""
|
||||
var applySelectedPermission = false
|
||||
lateinit var getCaCert: ActivityResultLauncher<Intent>
|
||||
lateinit var createManagedProfile: ActivityResultLauncher<Intent>
|
||||
lateinit var getApk: ActivityResultLauncher<Intent>
|
||||
lateinit var getUserIcon: ActivityResultLauncher<Intent>
|
||||
lateinit var addDeviceAdmin: ActivityResultLauncher<Intent>
|
||||
|
||||
var userIconUri: Uri? = null
|
||||
var apkUri: Uri? = null
|
||||
var caCert = byteArrayOf()
|
||||
|
||||
fun isDeviceOwner(dpm: DevicePolicyManager): Boolean {
|
||||
return dpm.isDeviceOwnerApp("com.bintianqi.owndroid")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user