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

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

Merge "Improve volume panel open-settings transitions." into main

parents 0a54cb45 052788f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -962,7 +962,7 @@
        <item name="android:windowBackground">@android:color/transparent</item>
        <item name="android:backgroundDimEnabled">true</item>
        <item name="android:windowCloseOnTouchOutside">true</item>
        <item name="android:windowAnimationStyle">@android:style/Animation.Dialog</item>
        <item name="android:windowAnimationStyle">@null</item>
    </style>

    <style name="Widget.SliceView.VolumePanel">
+2 −1
Original line number Diff line number Diff line
@@ -38,7 +38,8 @@ constructor(
    fun onSettingsClicked() {
        volumePanelViewModel.dismissPanel()
        activityStarter.startActivity(
            Intent(Settings.ACTION_SOUND_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK),
            Intent(Settings.ACTION_SOUND_SETTINGS)
                .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_REORDER_TO_FRONT),
            true,
        )
    }