From c8af8f054fde98894a89aafc53c1b1f2d6b059a5 Mon Sep 17 00:00:00 2001
From: BinTianqi <1220958406@qq.com>
Date: Fri, 19 Jan 2024 13:50:24 +0800
Subject: [PATCH] add all of the user restrictions
---
.../com/binbin/androidowner/UserRestrict.kt | 163 +++++++++++++++---
.../res/drawable/account_circle_fill0.xml | 9 +
.../main/res/drawable/cell_tower_fill0.xml | 9 +
.../main/res/drawable/content_paste_fill0.xml | 9 +
app/src/main/res/drawable/delete_fill0.xml | 9 +
app/src/main/res/drawable/dns_fill0.xml | 9 +
app/src/main/res/drawable/language_fill0.xml | 9 +
app/src/main/res/drawable/mic_fill0.xml | 9 +
.../main/res/drawable/network_cell_fill0.xml | 9 +
app/src/main/res/drawable/nfc_fill0.xml | 9 +
.../res/drawable/phone_forwarded_fill0.xml | 9 +
app/src/main/res/drawable/print_fill0.xml | 9 +
.../main/res/drawable/reset_wrench_fill0.xml | 9 +
.../drawable/screen_lock_portrait_fill0.xml | 9 +
app/src/main/res/drawable/sd_card_fill0.xml | 9 +
app/src/main/res/drawable/share_fill0.xml | 9 +
.../res/drawable/stadia_controller_fill0.xml | 9 +
app/src/main/res/drawable/usb_fill0.xml | 9 +
app/src/main/res/drawable/vpn_key_fill0.xml | 9 +
app/src/main/res/drawable/wallpaper_fill0.xml | 9 +
.../res/drawable/wifi_tethering_fill0.xml | 9 +
app/src/main/res/drawable/work_fill0.xml | 9 +
app/src/main/res/values/strings.xml | 52 +++++-
23 files changed, 377 insertions(+), 27 deletions(-)
create mode 100644 app/src/main/res/drawable/account_circle_fill0.xml
create mode 100644 app/src/main/res/drawable/cell_tower_fill0.xml
create mode 100644 app/src/main/res/drawable/content_paste_fill0.xml
create mode 100644 app/src/main/res/drawable/delete_fill0.xml
create mode 100644 app/src/main/res/drawable/dns_fill0.xml
create mode 100644 app/src/main/res/drawable/language_fill0.xml
create mode 100644 app/src/main/res/drawable/mic_fill0.xml
create mode 100644 app/src/main/res/drawable/network_cell_fill0.xml
create mode 100644 app/src/main/res/drawable/nfc_fill0.xml
create mode 100644 app/src/main/res/drawable/phone_forwarded_fill0.xml
create mode 100644 app/src/main/res/drawable/print_fill0.xml
create mode 100644 app/src/main/res/drawable/reset_wrench_fill0.xml
create mode 100644 app/src/main/res/drawable/screen_lock_portrait_fill0.xml
create mode 100644 app/src/main/res/drawable/sd_card_fill0.xml
create mode 100644 app/src/main/res/drawable/share_fill0.xml
create mode 100644 app/src/main/res/drawable/stadia_controller_fill0.xml
create mode 100644 app/src/main/res/drawable/usb_fill0.xml
create mode 100644 app/src/main/res/drawable/vpn_key_fill0.xml
create mode 100644 app/src/main/res/drawable/wallpaper_fill0.xml
create mode 100644 app/src/main/res/drawable/wifi_tethering_fill0.xml
create mode 100644 app/src/main/res/drawable/work_fill0.xml
diff --git a/app/src/main/java/com/binbin/androidowner/UserRestrict.kt b/app/src/main/java/com/binbin/androidowner/UserRestrict.kt
index a58c950..0e39428 100644
--- a/app/src/main/java/com/binbin/androidowner/UserRestrict.kt
+++ b/app/src/main/java/com/binbin/androidowner/UserRestrict.kt
@@ -5,6 +5,7 @@ import android.content.ComponentName
import android.os.Build.VERSION
import android.os.UserManager
import androidx.compose.foundation.background
+import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.Row
@@ -13,12 +14,9 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
-import androidx.compose.material.icons.Icons
-import androidx.compose.material.icons.outlined.Info
import androidx.compose.material3.Icon
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Switch
-import androidx.compose.material3.SwitchDefaults
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
@@ -30,11 +28,13 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.draw.clip
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
+import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.unit.dp
@Composable
fun UserRestriction(myDpm: DevicePolicyManager, myComponent: ComponentName){
val verticalScrolling = rememberScrollState()
+ var currentSection by remember{ mutableStateOf(0) }
Column(
horizontalAlignment = Alignment.CenterHorizontally,
modifier = Modifier
@@ -42,42 +42,153 @@ fun UserRestriction(myDpm: DevicePolicyManager, myComponent: ComponentName){
.padding(bottom = 20.dp)
) {
Text("打开开关后会禁用对应的功能")
- UserRestrictionItem(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS,R.string.config_mobile_network,"",R.drawable.signal_cellular_alt_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_CONFIG_WIFI,R.string.config_wifi,"",R.drawable.wifi_fill0,myComponent, myDpm)
- if(VERSION.SDK_INT>=26){
- UserRestrictionItem(UserManager.DISALLOW_BLUETOOTH,R.string.bluetooth,"",R.drawable.bluetooth_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_BLUETOOTH_SHARING,R.string.bt_share,"",R.drawable.bluetooth_searching_fill0,myComponent, myDpm)
+
+ SectionTab("网络和互联网") { currentSection = if(currentSection==1){ 0 }else{ 1 } }
+ if(currentSection==1){
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_MOBILE_NETWORKS,R.string.config_mobile_network,"",R.drawable.signal_cellular_alt_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=24){UserRestrictionItem(UserManager.DISALLOW_DATA_ROAMING,R.string.data_roaming,"",R.drawable.network_cell_fill0,myComponent, myDpm)}
+ if(VERSION.SDK_INT>=34){
+ UserRestrictionItem(UserManager.DISALLOW_CELLULAR_2G,R.string.cellular_2g,"",R.drawable.network_cell_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_ULTRA_WIDEBAND_RADIO,R.string.ultra_wideband_radio,"",R.drawable.android_fill0,myComponent, myDpm)
+ }
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_WIFI,R.string.config_wifi,"",R.drawable.wifi_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=33){
+ UserRestrictionItem(UserManager.DISALLOW_ADD_WIFI_CONFIG,R.string.add_wifi_conf,"",R.drawable.wifi_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CHANGE_WIFI_STATE,R.string.change_wifi_state,"",R.drawable.wifi_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_WIFI_DIRECT,R.string.wifi_direct,"",R.drawable.wifi_tethering_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_WIFI_TETHERING,R.string.wifi_tethering,"",R.drawable.wifi_tethering_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_SHARING_ADMIN_CONFIGURED_WIFI,R.string.share_admin_wifi,"",R.drawable.share_fill0,myComponent, myDpm)
+ }
+ UserRestrictionItem(UserManager.DISALLOW_NETWORK_RESET,R.string.network_reset,"",R.drawable.reset_wrench_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_TETHERING,R.string.config_tethering,"",R.drawable.wifi_tethering_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_VPN,R.string.config_vpn,"",R.drawable.vpn_key_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=29){UserRestrictionItem(UserManager.DISALLOW_CONFIG_PRIVATE_DNS,R.string.config_private_dns,"",R.drawable.dns_fill0,myComponent, myDpm)}
+
+ if(VERSION.SDK_INT>=28){ UserRestrictionItem(UserManager.DISALLOW_AIRPLANE_MODE,R.string.airplane_mode,"",R.drawable.airplanemode_active_fill0,myComponent, myDpm) }
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_CELL_BROADCASTS,R.string.config_cell_broadcasts,"",R.drawable.cell_tower_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_SMS,R.string.sms,"",R.drawable.sms_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_OUTGOING_CALLS,R.string.outgoing_calls,"",R.drawable.phone_forwarded_fill0,myComponent, myDpm)
}
- if(VERSION.SDK_INT>=28){
- UserRestrictionItem(UserManager.DISALLOW_AIRPLANE_MODE,R.string.airplane_mode,"",R.drawable.airplanemode_active_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_CONFIG_LOCATION,R.string.config_location,"",R.drawable.location_on_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_CONFIG_BRIGHTNESS,R.string.config_brightness,"",R.drawable.brightness_5_fill0,myComponent, myDpm)
+
+ SectionTab("其他连接") { currentSection = if(currentSection==6){ 0 }else{ 6 } }
+ if(currentSection==6){
+ if(VERSION.SDK_INT>=26){
+ UserRestrictionItem(UserManager.DISALLOW_BLUETOOTH,R.string.bluetooth,"",R.drawable.bluetooth_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_BLUETOOTH_SHARING,R.string.bt_share,"",R.drawable.bluetooth_searching_fill0,myComponent, myDpm)
+ }
+ UserRestrictionItem(UserManager.DISALLOW_SHARE_LOCATION,R.string.share_location,"",R.drawable.location_on_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=28){UserRestrictionItem(UserManager.DISALLOW_CONFIG_LOCATION,R.string.config_location,"",R.drawable.location_on_fill0,myComponent, myDpm)}
+ UserRestrictionItem(UserManager.DISALLOW_OUTGOING_BEAM,R.string.outgoing_beam,"",R.drawable.nfc_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_USB_FILE_TRANSFER,R.string.usb_file_transfer,"",R.drawable.usb_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_MOUNT_PHYSICAL_MEDIA,R.string.mount_physical_media, stringResource(R.string.mount_phisical_media_desc),R.drawable.sd_card_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=28){UserRestrictionItem(UserManager.DISALLOW_PRINTING,R.string.printing,"",R.drawable.print_fill0,myComponent, myDpm)}
}
- UserRestrictionItem(UserManager.DISALLOW_DEBUGGING_FEATURES,R.string.debug_features,"",R.drawable.adb_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_CREATE_WINDOWS,R.string.create_windows, stringResource(R.string.create_windows_description),R.drawable.web_asset,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_ADJUST_VOLUME,R.string.adjust_volume,"",R.drawable.volume_up_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_INSTALL_APPS,R.string.install_apps,"",R.drawable.android_fill0,myComponent, myDpm)
- if(VERSION.SDK_INT>=31){
- UserRestrictionItem(UserManager.DISALLOW_CAMERA_TOGGLE,R.string.camera_toggle,"",R.drawable.cameraswitch_fill0,myComponent, myDpm)
+ SectionTab("应用") { currentSection = if(currentSection==2){ 0 }else{ 2 } }
+ if(currentSection==2){
+ UserRestrictionItem(UserManager.DISALLOW_INSTALL_APPS,R.string.install_apps,"",R.drawable.android_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=29){UserRestrictionItem(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES_GLOBALLY,R.string.install_unknown_src_globally,"",R.drawable.android_fill0,myComponent, myDpm)}
+ UserRestrictionItem(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,R.string.inst_unknown_src,"",R.drawable.android_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_UNINSTALL_APPS,R.string.uninstall_apps,"",R.drawable.delete_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_APPS_CONTROL,R.string.apps_ctrl, stringResource(R.string.apps_ctrl_description),R.drawable.apps_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=34){ UserRestrictionItem(UserManager.DISALLOW_CONFIG_DEFAULT_APPS,R.string.config_default_apps,"",R.drawable.apps_fill0,myComponent, myDpm) }
}
- UserRestrictionItem(UserManager.DISALLOW_SMS,R.string.sms,"",R.drawable.sms_fill0,myComponent, myDpm)
- UserRestrictionItem(UserManager.DISALLOW_APPS_CONTROL,R.string.apps_ctrl, stringResource(R.string.apps_ctrl_description),R.drawable.apps_fill0,myComponent, myDpm)
- if(VERSION.SDK_INT>=26){
- UserRestrictionItem(UserManager.DISALLOW_AUTOFILL,R.string.autofill, "",R.drawable.password_fill0,myComponent, myDpm)
+
+ SectionTab("显示与音量") { currentSection = if(currentSection==3){ 0 }else{ 3 } }
+ if(currentSection==3){
+ if(VERSION.SDK_INT>=28){
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_BRIGHTNESS,R.string.config_brightness,"",R.drawable.brightness_5_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_SCREEN_TIMEOUT,R.string.config_scr_timeout,"",R.drawable.screen_lock_portrait_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_AMBIENT_DISPLAY,R.string.ambient_display,"",R.drawable.brightness_5_fill0,myComponent, myDpm)
+ }
+ UserRestrictionItem(UserManager.DISALLOW_ADJUST_VOLUME,R.string.adjust_volume,"",R.drawable.volume_up_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_UNMUTE_MICROPHONE,R.string.unmute_microphone,"",R.drawable.mic_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=31){
+ UserRestrictionItem(UserManager.DISALLOW_CAMERA_TOGGLE,R.string.camera_toggle,"",R.drawable.cameraswitch_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_MICROPHONE_TOGGLE,R.string.microphone_toggle,"",R.drawable.mic_fill0,myComponent, myDpm)
+ }
+ }
+
+ SectionTab("用户与工作资料") { currentSection = if(currentSection==4){ 0 }else{ 4 } }
+ if(currentSection==4){
+ UserRestrictionItem(UserManager.DISALLOW_ADD_USER,R.string.add_user,"",R.drawable.account_circle_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_REMOVE_USER,R.string.remove_user,"",R.drawable.account_circle_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=28){UserRestrictionItem(UserManager.DISALLOW_USER_SWITCH,R.string.switch_user,"",R.drawable.account_circle_fill0,myComponent, myDpm)}
+ if(VERSION.SDK_INT>=24){UserRestrictionItem(UserManager.DISALLOW_SET_USER_ICON,R.string.set_user_icon,"",R.drawable.account_circle_fill0,myComponent, myDpm)}
+ UserRestrictionItem(UserManager.DISALLOW_CROSS_PROFILE_COPY_PASTE,R.string.cross_profile_copy, stringResource(R.string.cross_profile_copy_desc),R.drawable.content_paste_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=26){
+ UserRestrictionItem(UserManager.DISALLOW_ADD_MANAGED_PROFILE,R.string.add_managed_profile,"",R.drawable.work_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_REMOVE_MANAGED_PROFILE,R.string.remove_managed_profile,"",R.drawable.work_fill0,myComponent, myDpm)
+ }
+ if(VERSION.SDK_INT>=28){
+ UserRestrictionItem(UserManager.DISALLOW_SHARE_INTO_MANAGED_PROFILE,R.string.share_into_managed_profile,"",R.drawable.share_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_UNIFIED_PASSWORD,R.string.unifiied_pwd,"",R.drawable.work_fill0,myComponent, myDpm)
+ }
+ }
+
+ SectionTab("杂项") { currentSection = if(currentSection==5){ 0 }else{ 5 } }
+ if(currentSection==5){
+ if(VERSION.SDK_INT>=26){ UserRestrictionItem(UserManager.DISALLOW_AUTOFILL,R.string.autofill, "",R.drawable.password_fill0,myComponent, myDpm) }
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_CREDENTIALS,R.string.config_credentials,"",R.drawable.android_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=29){
+ UserRestrictionItem(UserManager.DISALLOW_CONTENT_CAPTURE,R.string.content_capture,"",R.drawable.android_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CONTENT_SUGGESTIONS,R.string.content_suggestions,"",R.drawable.android_fill0,myComponent, myDpm)
+ }
+ UserRestrictionItem(UserManager.DISALLOW_CREATE_WINDOWS,R.string.create_windows, stringResource(R.string.create_windows_description),R.drawable.web_asset,myComponent, myDpm)
+ if(VERSION.SDK_INT>=24){UserRestrictionItem(UserManager.DISALLOW_SET_WALLPAPER,R.string.set_wallpaper,"",R.drawable.wallpaper_fill0,myComponent, myDpm)}
+ if(VERSION.SDK_INT>=34){ UserRestrictionItem(UserManager.DISALLOW_GRANT_ADMIN,R.string.grant_admin,"",R.drawable.android_fill0,myComponent, myDpm) }
+ UserRestrictionItem(UserManager.DISALLOW_FUN,R.string.`fun`,"可能会影响谷歌商店的游戏",R.drawable.stadia_controller_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_MODIFY_ACCOUNTS,R.string.modify_accounts,"",R.drawable.manage_accounts_fill0,myComponent, myDpm)
+ if(VERSION.SDK_INT>=28){
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_LOCALE,R.string.config_locale,"",R.drawable.language_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_CONFIG_DATE_TIME,R.string.config_date_time,"",R.drawable.schedule_fill0,myComponent, myDpm)
+ }
+ if(VERSION.SDK_INT>=28){UserRestrictionItem(UserManager.DISALLOW_SYSTEM_ERROR_DIALOGS,R.string.sys_err_dialog,"",R.drawable.android_fill0,myComponent, myDpm)}
+ UserRestrictionItem(UserManager.DISALLOW_FACTORY_RESET,R.string.factory_reset,"",R.drawable.android_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_SAFE_BOOT,R.string.safe_boot,"",R.drawable.android_fill0,myComponent, myDpm)
+ UserRestrictionItem(UserManager.DISALLOW_DEBUGGING_FEATURES,R.string.debug_features,"",R.drawable.adb_fill0,myComponent, myDpm)
+ }
+
+ if(VERSION.SDK_INT<24){
+ Text("以下功能需要安卓7或以上:数据漫游、修改用户头像、更换壁纸")
}
- UserRestrictionItem(UserManager.DISALLOW_INSTALL_UNKNOWN_SOURCES,R.string.inst_unknown_src,"",R.drawable.android_fill0,myComponent, myDpm)
if(VERSION.SDK_INT<26){
- Text("以下功能需要安卓8或以上:蓝牙、自动填充服务")
+ Text("以下功能需要安卓8或以上:蓝牙、自动填充服务、添加/移除工作资料")
}
if(VERSION.SDK_INT<28){
- Text("以下功能需要安卓9或以上:飞行模式、位置信息、调整亮度")
+ Text("以下功能需要安卓9或以上:飞行模式、位置信息、调整亮度、修改语言、修改日期时间、修改屏幕超时、打印、分享至工作应用、切换用户")
+ }
+ if(VERSION.SDK_INT<29){
+ Text("以下功能需要安卓10或以上:配置私人DNS、内容捕获、内容建议")
}
if(VERSION.SDK_INT<31){
- Text("以下功能需要安卓12或以上:切换相机")
+ Text("以下功能需要安卓12或以上:切换摄像头使用权限")
+ }
+ if(VERSION.SDK_INT<33){
+ Text("以下功能需要安卓13或以上:添加WiFi配置、分享设备管理器配置的WiFi、WiFi共享")
+ }
+ if(VERSION.SDK_INT<34){
+ Text("以下功能需要安卓14或以上:2G信号、启用设备管理器、超宽频段无线电")
}
}
}
+@Composable
+fun SectionTab(txt:String,setSection:()->Unit){
+ Text(
+ text = txt,
+ color = MaterialTheme.colorScheme.onTertiaryContainer,
+ textAlign = TextAlign.Center,
+ style = MaterialTheme.typography.headlineMedium,
+ modifier = Modifier
+ .fillMaxWidth()
+ .padding(horizontal = 8.dp, vertical = 6.dp)
+ .clip(RoundedCornerShape(15))
+ .background(color = MaterialTheme.colorScheme.tertiaryContainer)
+ .clickable(onClick = setSection)
+ .padding(vertical = 8.dp)
+ )
+}
+
@Composable
private fun UserRestrictionItem(restriction:String, itemName:Int, restrictionDescription:String, leadIcon:Int,myComponent: ComponentName, myDpm: DevicePolicyManager){
val isdo = myDpm.isDeviceOwnerApp("com.binbin.androidowner")
diff --git a/app/src/main/res/drawable/account_circle_fill0.xml b/app/src/main/res/drawable/account_circle_fill0.xml
new file mode 100644
index 0000000..51ffa5d
--- /dev/null
+++ b/app/src/main/res/drawable/account_circle_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/cell_tower_fill0.xml b/app/src/main/res/drawable/cell_tower_fill0.xml
new file mode 100644
index 0000000..0a22400
--- /dev/null
+++ b/app/src/main/res/drawable/cell_tower_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/content_paste_fill0.xml b/app/src/main/res/drawable/content_paste_fill0.xml
new file mode 100644
index 0000000..ccfa8e2
--- /dev/null
+++ b/app/src/main/res/drawable/content_paste_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/delete_fill0.xml b/app/src/main/res/drawable/delete_fill0.xml
new file mode 100644
index 0000000..c161636
--- /dev/null
+++ b/app/src/main/res/drawable/delete_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/dns_fill0.xml b/app/src/main/res/drawable/dns_fill0.xml
new file mode 100644
index 0000000..4ddce5d
--- /dev/null
+++ b/app/src/main/res/drawable/dns_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/language_fill0.xml b/app/src/main/res/drawable/language_fill0.xml
new file mode 100644
index 0000000..f6e7b46
--- /dev/null
+++ b/app/src/main/res/drawable/language_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/mic_fill0.xml b/app/src/main/res/drawable/mic_fill0.xml
new file mode 100644
index 0000000..aa5c3e2
--- /dev/null
+++ b/app/src/main/res/drawable/mic_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/network_cell_fill0.xml b/app/src/main/res/drawable/network_cell_fill0.xml
new file mode 100644
index 0000000..debe2a7
--- /dev/null
+++ b/app/src/main/res/drawable/network_cell_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/nfc_fill0.xml b/app/src/main/res/drawable/nfc_fill0.xml
new file mode 100644
index 0000000..53573fc
--- /dev/null
+++ b/app/src/main/res/drawable/nfc_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/phone_forwarded_fill0.xml b/app/src/main/res/drawable/phone_forwarded_fill0.xml
new file mode 100644
index 0000000..9bad9b0
--- /dev/null
+++ b/app/src/main/res/drawable/phone_forwarded_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/print_fill0.xml b/app/src/main/res/drawable/print_fill0.xml
new file mode 100644
index 0000000..d2dbe78
--- /dev/null
+++ b/app/src/main/res/drawable/print_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/reset_wrench_fill0.xml b/app/src/main/res/drawable/reset_wrench_fill0.xml
new file mode 100644
index 0000000..36bca3c
--- /dev/null
+++ b/app/src/main/res/drawable/reset_wrench_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/screen_lock_portrait_fill0.xml b/app/src/main/res/drawable/screen_lock_portrait_fill0.xml
new file mode 100644
index 0000000..881ae53
--- /dev/null
+++ b/app/src/main/res/drawable/screen_lock_portrait_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/sd_card_fill0.xml b/app/src/main/res/drawable/sd_card_fill0.xml
new file mode 100644
index 0000000..214da41
--- /dev/null
+++ b/app/src/main/res/drawable/sd_card_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/share_fill0.xml b/app/src/main/res/drawable/share_fill0.xml
new file mode 100644
index 0000000..ae5afda
--- /dev/null
+++ b/app/src/main/res/drawable/share_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/stadia_controller_fill0.xml b/app/src/main/res/drawable/stadia_controller_fill0.xml
new file mode 100644
index 0000000..ae5873e
--- /dev/null
+++ b/app/src/main/res/drawable/stadia_controller_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/usb_fill0.xml b/app/src/main/res/drawable/usb_fill0.xml
new file mode 100644
index 0000000..2b26fb4
--- /dev/null
+++ b/app/src/main/res/drawable/usb_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/vpn_key_fill0.xml b/app/src/main/res/drawable/vpn_key_fill0.xml
new file mode 100644
index 0000000..69992b2
--- /dev/null
+++ b/app/src/main/res/drawable/vpn_key_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/wallpaper_fill0.xml b/app/src/main/res/drawable/wallpaper_fill0.xml
new file mode 100644
index 0000000..3060754
--- /dev/null
+++ b/app/src/main/res/drawable/wallpaper_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/wifi_tethering_fill0.xml b/app/src/main/res/drawable/wifi_tethering_fill0.xml
new file mode 100644
index 0000000..8c6a827
--- /dev/null
+++ b/app/src/main/res/drawable/wifi_tethering_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/drawable/work_fill0.xml b/app/src/main/res/drawable/work_fill0.xml
new file mode 100644
index 0000000..ae1970c
--- /dev/null
+++ b/app/src/main/res/drawable/work_fill0.xml
@@ -0,0 +1,9 @@
+
+
+
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index b492c09..c105eb8 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -45,11 +45,61 @@
创建窗口
调整音量
安装应用
- 切换相机
+ 切换摄像头使用权限
短信
控制应用
自动填充服务
安装未知来源应用
+ 添加用户
+ 息屏显示
+ 添加WiFi配置
+ 修改WiFi状态
+ 配置小区广播
+ 配置可信凭据
+ 修改语言
+ 使用2G(GSM)
+ 修改日期、时间
+ 修改默认App
+ 配置私人DNS
+ 修改屏幕超时
+ 配置网络共享
+ 配置VPN
+ 内容捕获
+ 内容建议
+ 跨用户复制
+ 在不同用户和工作资料之间复制粘贴
+ 数据漫游
+ 恢复出厂设置
+ 娱乐
+ 作用未知
+ 启用设备管理器
+ 安装未知来源应用(全局)
+ 切换麦克风使用权限
+ 修改账号设置
+ 挂载物理媒体
+ 包括TF卡和USB-OTG
+ 重置网络
+ Beam发送
+ 拨打电话
+ 打印
+ 移除用户
+ 安全模式
+ 修改用户头像
+ 更换壁纸
+ 分享至工作应用
+ 分享位置
+ 分享设备管理器配置的WiFi
+ 系统报错对话框
+ 超宽频段无线电
+ 个人和工作密码相同
+ 卸载应用
+ 取消麦克风静音
+ USB文件传输
+ 切换用户
+ WiFi直连
+ WiFi共享
+ 添加工作资料
+ 移除工作资料
密码
锁屏密码相关操作