AppListFragment: allow MIUI users to ignore and continue installation
This commit is contained in:
parent
6ecc6bed02
commit
4114479d8f
|
@ -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);
|
||||
|
|
|
@ -71,4 +71,5 @@
|
|||
|
||||
<!-- MIUI -->
|
||||
<string name="miui_cannot_clone">目前无法在 MIUI 上克隆非系统应用。请先克隆您的系统应用商店 (如 <b>Play Store</b>) 然后从克隆的应用商店中安装应用</string>
|
||||
<string name="continue_anyway">无视并继续</string>
|
||||
</resources>
|
||||
|
|
|
@ -75,4 +75,5 @@
|
|||
|
||||
<!-- MIUI -->
|
||||
<string name="miui_cannot_clone">Cloning non-system apps to another profile is currently not possible on MIUI. Please clone your system\'s app store (e.g. <b>Play Store</b>) into the other profile and then install apps from there.</string>
|
||||
<string name="continue_anyway">Continue anyway</string>
|
||||
</resources>
|
||||
|
|
Loading…
Reference in a new issue