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

Commit 183b4765 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge changes I1b2f0726,Iaed2c7e7 into oc-dev

* changes:
  Apply proper theme to SaveUi
  Prevent clipping of shadow when button is pressed
parents 78a00503 b4ff3bbd
Loading
Loading
Loading
Loading
+37 −27
Original line number Diff line number Diff line
@@ -25,11 +25,18 @@
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_marginTop="32dp"
        android:padding="16dp"
        android:paddingTop="16dp"
        android:elevation="32dp"
        android:background="?android:attr/colorBackground"
        android:orientation="vertical">

        <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="wrap_content"
            android:paddingLeft="16dp"
            android:paddingRight="16dp"
            android:orientation="vertical">

            <LinearLayout
                android:layout_width="fill_parent"
                android:layout_height="wrap_content"
@@ -65,11 +72,14 @@
                android:visibility="gone">
            </TextView>

        </LinearLayout>

        <com.android.internal.widget.ButtonBarLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="end"
            android:layout_marginTop="16dp"
            android:padding="16dp"
            android:clipToPadding="false"
            android:layout_weight="1"
            android:orientation="horizontal">

+2 −1
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ import static com.android.server.autofill.Helper.bundleToString;
import android.annotation.NonNull;
import android.annotation.Nullable;
import android.app.ActivityManager;
import android.app.ActivityThread;
import android.content.BroadcastReceiver;
import android.content.ComponentName;
import android.content.ContentResolver;
@@ -125,7 +126,7 @@ public final class AutofillManagerService extends SystemService {
    public AutofillManagerService(Context context) {
        super(context);
        mContext = context;
        mUi = new AutoFillUI(mContext);
        mUi = new AutoFillUI(ActivityThread.currentActivityThread().getSystemUiContext());

        final boolean debug = Build.IS_DEBUGGABLE;
        Slog.i(TAG, "Setting debug to " + debug);
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ final class SaveUi {
        closeButton.setOnClickListener((v) -> mListener.onCancel(
                info.getNegativeActionListener()));

        mDialog = new Dialog(context, R.style.Theme_Material_Panel);
        mDialog = new Dialog(context, R.style.Theme_DeviceDefault_Light_Panel);
        mDialog.setContentView(view);

        final Window window = mDialog.getWindow();