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

Commit ed6f98ac authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fixing light border around sticky key indicator" into main

parents ea6c0d73 206f9c8b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1581,4 +1581,8 @@
    <style name="Theme.PrivacyDialog" parent="@style/Theme.SystemUI.Dialog">
        <item name="android:colorBackground">?androidprv:attr/materialColorSurfaceContainer</item>
    </style>

    <style name="Theme.SystemUI.Dialog.StickyKeys" parent="@style/Theme.SystemUI.Dialog">
        <item name="android:colorBackground">@color/transparent</item>
    </style>
</resources>
+1 −1
Original line number Diff line number Diff line
@@ -46,7 +46,7 @@ constructor(
    }

    private fun createStickyKeyIndicator(viewModel: StickyKeysIndicatorViewModel): Dialog {
        return ComponentDialog(context, R.style.Theme_SystemUI_Dialog).apply {
        return ComponentDialog(context, R.style.Theme_SystemUI_Dialog_StickyKeys).apply {
            // because we're requesting window feature it must be called before setting content
            window?.setStickyKeyWindowAttributes()
            setContentView(createStickyKeyIndicatorView(context, viewModel))