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

Commit b4ff3bbd authored by Philip P. Moltmann's avatar Philip P. Moltmann
Browse files

Apply proper theme to SaveUi

Bug: 37754078
Test: Started SaveUI on angler and marlin. angler was green, marlin was
      blue
Change-Id: I1b2f07269d3df3949344672f23329ea735c22a94
parent 047c02b1
Loading
Loading
Loading
Loading
+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();