mirror of
https://github.com/awfixers-stuff/OwnDroid.git
synced 2026-03-23 19:15:58 +00:00
Add 'User Restrictions' section
This commit is contained in:
@@ -63,6 +63,7 @@ fun MyScaffold(mainDpm:DevicePolicyManager, mainComponent:ComponentName){
|
||||
composable(route = "Permissions", content = { DpmPermissions(mainDpm,mainComponent)})
|
||||
composable(route = "UIControl", content = { UIControl(mainDpm,mainComponent)})
|
||||
composable(route = "ApplicationManage", content = { ApplicationManage(mainDpm,mainComponent)})
|
||||
composable(route = "UserRestriction", content = { UserRestrict(mainDpm,mainComponent)})
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -82,5 +83,8 @@ fun HomePage(navCtrl:NavHostController){
|
||||
Button(onClick = {navCtrl.navigate("ApplicationManage")}) {
|
||||
Text("应用管理")
|
||||
}
|
||||
Button(onClick = {navCtrl.navigate("UserRestriction")}) {
|
||||
Text("用户限制")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user