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
This commit is contained in:
committed by
Iavor-Valentin Iftime
parent
4591a191e1
commit
1e81f6eb95
@@ -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" />
|
||||
|
@@ -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">
|
||||
|
@@ -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>
|
||||
|
Reference in New Issue
Block a user