Launch channel settings as half sheet
If opening app has requested only a subset of fields
Test: manual - launch from an app, filtered and unfiltered, for
normal channels and conversations
Bug: 177246841
Change-Id: Ifd70478101d1ea1340d2ecc55033fab55e65ca92
Change-Id: I5194b959c82b2cfa7990c84285aaf69464cff3a8
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 86d7992..8191042 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -2803,8 +2803,13 @@
</activity>
<!-- Show channel-level notification settings (channel passed in as extras) -->
- <activity android:name="Settings$ChannelNotificationSettingsActivity"
+ <activity android:name=".notification.app.ChannelPanelActivity"
android:label="@string/notification_channel_title"
+ android:theme="@style/Theme.Panel"
+ android:launchMode="singleInstance"
+ android:excludeFromRecents="true"
+ android:noHistory="true"
+ android:configChanges="orientation|keyboardHidden|screenSize"
android:exported="true">
<intent-filter android:priority="1">
<action android:name="android.settings.CHANNEL_NOTIFICATION_SETTINGS" />