Add 'User Restrictions' section

This commit is contained in:
BinTianqi
2024-01-14 10:22:12 +08:00
parent 496a25cece
commit 51a21dd345
5 changed files with 112 additions and 3 deletions

View File

@@ -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("用户限制")
}
}
}