[UI Tweak] Move PIN eSIM error message button position

This CL move the eSIM error message in PIN/PUK screen from left to
right.

Bug: 74450400
Test: E2E & bit SystemUITests:*
Change-Id: I7bd93c7c9b70c76af408c8ca29004876c9192a42
This commit is contained in:
Qingxi Li
2018-03-15 10:45:04 -07:00
parent e781724b41
commit 3bc25e05c8

View File

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