Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05e435cf authored by Felipe Leme's avatar Felipe Leme
Browse files

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
parent a79da0fa
Loading
Loading
Loading
Loading
+0 −12
Original line number Diff line number Diff line
@@ -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>
+0 −1
Original line number Diff line number Diff line
@@ -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" />
+0 −3
Original line number Diff line number Diff line
@@ -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);