aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/AndroidManifest.xml')
-rw-r--r--app/src/main/AndroidManifest.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index ad1fcbdc..1ca91d62 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -25,6 +25,17 @@
android:theme="@style/FrostTheme"
android:usesCleartextTraffic="true"
tools:ignore="UnusedAttribute">
+ <!-- Matches general label under NotificationUtils.kt -->
+ <meta-data
+ android:name="com.google.firebase.messaging.default_notification_channel_id"
+ android:value="general" />
+ <meta-data
+ android:name="com.google.firebase.messaging.default_notification_color"
+ android:resource="@color/facebook_blue" />
+ <meta-data
+ android:name="com.google.firebase.messaging.default_notification_icon"
+ android:resource="@drawable/frost_f_24" />
+
<activity
android:name=".StartActivity"
android:label="@string/frost_name"
@@ -48,7 +59,7 @@
android:launchMode="singleTop"
android:theme="@style/FrostTheme.Overlay.Slide" />
<activity
- android:name=".activities.WebOverlayBasicActivity"
+ android:name=".activities.WebOverlayDesktopActivity"
android:configChanges="orientation|screenSize|locale"
android:hardwareAccelerated="true"
android:label="@string/frost_web"
@@ -162,6 +173,20 @@
</intent-filter>
</receiver>
+ <!--Widgets-->
+ <receiver android:name=".widgets.NotificationWidget">
+ <intent-filter>
+ <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
+ </intent-filter>
+ <meta-data
+ android:name="android.appwidget.provider"
+ android:resource="@xml/notification_widget_info" />
+ </receiver>
+ <service
+ android:name=".widgets.NotificationWidgetService"
+ android:enabled="true"
+ android:permission="android.permission.BIND_REMOTEVIEWS" />
+
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"