Merge "[UI Tweak] Move PIN eSIM error message button position" into pi-dev

am: 2ac51aab99

Change-Id: I604ee5e612fe0207f0a9eb3f605f966f6e5cdb37
This commit is contained in:
Qingxi Li
2018-03-16 01:18:07 +00:00
committed by android-build-merger

View File

@@ -60,7 +60,7 @@ class KeyguardEsimArea extends Button implements View.OnClickListener {
.setMessage(R.string.error_disable_esim_msg) .setMessage(R.string.error_disable_esim_msg)
.setTitle(R.string.error_disable_esim_title) .setTitle(R.string.error_disable_esim_title)
.setCancelable(false /* cancelable */) .setCancelable(false /* cancelable */)
.setNeutralButton(R.string.ok, null /* listener */); .setPositiveButton(R.string.ok, null /* listener */);
AlertDialog alertDialog = builder.create(); AlertDialog alertDialog = builder.create();
alertDialog.getWindow().setType( alertDialog.getWindow().setType(
WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG); WindowManager.LayoutParams.TYPE_KEYGUARD_DIALOG);