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

Commit 90b4e175 authored by Philipp Weiß's avatar Philipp Weiß Committed by android-build-merger
Browse files

Merge "Use SystemUI Dialog Theme for QSSecurityFooter dialog" into oc-dr1-dev

am: 08836ed4

Change-Id: Ia1c7d6110c8195b9480f8fdac9c5125e9a2395a5
parents 2f291c3b 08836ed4
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import android.text.SpannableStringBuilder;
import android.text.method.LinkMovementMethod;
import android.text.style.ClickableSpan;
import android.util.Log;
import android.view.ContextThemeWrapper;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
@@ -244,7 +245,8 @@ public class QSSecurityFooter implements OnClickListener, DialogInterface.OnClic

        mDialog = new SystemUIDialog(mContext);
        mDialog.requestWindowFeature(Window.FEATURE_NO_TITLE);
        View dialogView = LayoutInflater.from(mContext)
        View dialogView = LayoutInflater.from(
                new ContextThemeWrapper(mContext, R.style.Theme_SystemUI_Dialog))
                .inflate(R.layout.quick_settings_footer_dialog, null, false);
        mDialog.setView(dialogView);
        mDialog.setButton(DialogInterface.BUTTON_POSITIVE, getPositiveButton(), this);