新增强制允许所有应用接力 (#113)

This commit is contained in:
YifePlayte
2022-03-27 12:50:51 +08:00
committed by GitHub
parent 4332ac6ed8
commit 243bc39dd6
6 changed files with 57 additions and 1 deletions

View File

@@ -194,7 +194,8 @@ class SettingsActivity : MIUIActivity() {
"killall com.miui.powerkeeper",
"killall com.android.updater",
"killall com.miui.mediaeditor",
"killall com.miui.screenshot"
"killall com.miui.screenshot",
"killall com.milink.service"
)
ShellUtils.execCommand(command, true)
dismiss()
@@ -1420,6 +1421,16 @@ class SettingsActivity : MIUIActivity() {
)
)
add(LineV())
add(TitleTextV(resId = R.string.cast))
add(
TextSummaryWithSwitchV(
TextSummaryV(
textId = R.string.force_support_send_app,
),
SwitchV("force_support_send_app")
)
)
add(LineV())
add(TitleTextV(resId = R.string.remove_ad))
add(
TextSummaryWithSwitchV(