diff --git a/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java b/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java index ba4459b..48070b5 100644 --- a/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java +++ b/app/src/main/java/net/typeblog/shelter/ui/AppListFragment.java @@ -225,6 +225,8 @@ public class AppListFragment extends Fragment { new AlertDialog.Builder(getContext()) .setMessage(R.string.miui_cannot_clone) .setPositiveButton(android.R.string.ok, null) + .setNegativeButton(R.string.continue_anyway, (diag, button) -> + installOrUninstall(mSelectedApp, true)) .show(); } else { installOrUninstall(mSelectedApp, true); diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml index f12931e..74546cb 100644 --- a/app/src/main/res/values-zh-rCN/strings.xml +++ b/app/src/main/res/values-zh-rCN/strings.xml @@ -71,4 +71,5 @@ 目前无法在 MIUI 上克隆非系统应用。请先克隆您的系统应用商店 (如 Play Store) 然后从克隆的应用商店中安装应用 + 无视并继续 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 79ba90d..ac21349 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -75,4 +75,5 @@ Cloning non-system apps to another profile is currently not possible on MIUI. Please clone your system\'s app store (e.g. Play Store) into the other profile and then install apps from there. + Continue anyway