diff options
| author | 2017-08-15 09:19:12 -0700 | |
|---|---|---|
| committer | 2017-08-16 10:00:28 -0700 | |
| commit | 05e435cfd19cee15c463111b63d677aa3b77fb1e (patch) | |
| tree | df092ca54b57731702fa0ad9c9d2374a8d70e1af | |
| parent | a79da0fa75d1fb03be15c256e66b1d7e26e600c1 (diff) | |
Removed redundant [X] icon used to close Autofill Save UI.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAutoFillServiceTestCases
Test: manual verification
Fixes: 64694706
Change-Id: I768830f56db1814aecb82b94cebb9100dd47dd50
| -rw-r--r-- | core/res/res/layout/autofill_save.xml | 12 | ||||
| -rw-r--r-- | core/res/res/values/symbols.xml | 1 | ||||
| -rw-r--r-- | services/autofill/java/com/android/server/autofill/ui/SaveUi.java | 3 |
3 files changed, 0 insertions, 16 deletions
diff --git a/core/res/res/layout/autofill_save.xml b/core/res/res/layout/autofill_save.xml index 5e5b4fe68bd9..50ff50f19564 100644 --- a/core/res/res/layout/autofill_save.xml +++ b/core/res/res/layout/autofill_save.xml @@ -54,17 +54,6 @@ android:layout_weight="1"> </TextView> - <ImageView - android:id="@+id/autofill_save_close" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="16dp" - android:src="@android:drawable/ic_close" - android:alpha="0.54" - android:background="?android:attr/selectableItemBackgroundBorderless" - android:contentDescription="@android:string/close_button_text"> - </ImageView> - </LinearLayout> <com.android.server.autofill.ui.CustomScrollView @@ -106,7 +95,6 @@ android:layout_height="wrap_content" style="@style/Widget.Material.Button.Colored" android:text="@string/autofill_save_yes"> - <requestFocus /> </Button> </com.android.internal.widget.ButtonBarLayout> diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 061413c60367..873b5644b470 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -2900,7 +2900,6 @@ <java-symbol type="id" name="autofill_save_title" /> <java-symbol type="id" name="autofill_save_no" /> <java-symbol type="id" name="autofill_save_yes" /> - <java-symbol type="id" name="autofill_save_close" /> <java-symbol type="string" name="autofill_error_cannot_autofill" /> <java-symbol type="string" name="autofill_picker_no_suggestions" /> <java-symbol type="plurals" name="autofill_picker_some_suggestions" /> diff --git a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java index 035186525ae0..3727c6eb0e6c 100644 --- a/services/autofill/java/com/android/server/autofill/ui/SaveUi.java +++ b/services/autofill/java/com/android/server/autofill/ui/SaveUi.java @@ -209,9 +209,6 @@ final class SaveUi { final View yesButton = view.findViewById(R.id.autofill_save_yes); yesButton.setOnClickListener((v) -> mListener.onSave()); - final View closeButton = view.findViewById(R.id.autofill_save_close); - closeButton.setOnClickListener(cancelListener); - mDialog = new Dialog(context, R.style.Theme_DeviceDefault_Light_Panel); mDialog.setContentView(view); |