mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-24 03:16:00 +00:00
Optimize UI for Device info, User info and Password info
Change USB signal to Disable USB signal Hide Master volume mute in work profile
This commit is contained in:
@@ -192,7 +192,7 @@ private fun CreateWorkProfile() {
|
||||
if(VERSION.SDK_INT >= 24) { intent.putExtra(EXTRA_PROVISIONING_SKIP_ENCRYPTION, skipEncrypt) }
|
||||
if(VERSION.SDK_INT >= 33) { intent.putExtra(EXTRA_PROVISIONING_ALLOW_OFFLINE, offlineProvisioning) }
|
||||
createManagedProfile.launch(intent)
|
||||
} catch(e:ActivityNotFoundException) {
|
||||
} catch(_:ActivityNotFoundException) {
|
||||
Toast.makeText(context, R.string.unsupported, Toast.LENGTH_SHORT).show()
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user