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

Commit 1e81f6eb authored by Valentin Iftime's avatar Valentin Iftime Committed by Iavor-Valentin Iftime
Browse files

Fix notification settings bottom sheet scroll in landscape

    Fix layout size and configuration listener for landscape orientation.

Test: adb shell cmd notification post "Test notif" &
    adb shell am start -a android.settings.CHANNEL_NOTIFICATION_SETTINGS     --es android.provider.extra.CHANNEL_FILTER_LIST "sound"     --es android.provider.extra.CHANNEL_ID "shell_cmd"     --es android.provider.extra.APP_PACKAGE "com.android.shell
Bug: 238845213
Change-Id: I6c2ba149cddfdf35292b0b6fc92c0d8418a86c54
parent 4591a191
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3408,7 +3408,7 @@
                  android:label="@string/notification_channel_title"
                  android:theme="@style/Theme.Panel"
                  android:excludeFromRecents="true"
                  android:configChanges="orientation|keyboardHidden|screenSize"
                  android:configChanges="keyboardHidden|screenSize"
                  android:exported="true">
            <intent-filter android:priority="1">
                <action android:name="android.settings.CHANNEL_NOTIFICATION_SETTINGS" />
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:id="@+id/main_content"
    android:layout_height="@dimen/output_switcher_slice_max_height"
    android:maxHeight="@dimen/output_switcher_slice_max_height"
    android:background="@drawable/settings_panel_background"
    android:orientation="vertical"
    android:layout_width="match_parent">
+1 −0
Original line number Diff line number Diff line
@@ -32,4 +32,5 @@
    <dimen name="biometric_auth_pattern_view_size">248dp</dimen>
    <dimen name="biometric_auth_pattern_view_max_size">348dp</dimen>

    <dimen name="output_switcher_slice_max_height">300dp</dimen>
</resources>