Start to use notification channel
- Since we rarely use notifications, we have only 1 channel
named "Notifications".
Bug: 34129110
Test: manual
1. build eng-o and install it on O
2. export contacts and observe channel is seen
Change-Id: I38f2c57b0b9139441223c7cc94c7118d6a9fd323
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index cd0b853..57f1c42 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -332,6 +332,15 @@
android:name=".quickcontact.QuickContactBroadcastReceiver"
android:exported="false"/>
+ <!-- Responsible for creating notification channels when boot is completed or when app is
+ re-installed -->
+ <receiver android:name=".interactions.OnBootOrUpgradeReceiver">
+ <intent-filter>
+ <action android:name="android.intent.action.BOOT_COMPLETED" />
+ <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
+ </intent-filter>
+ </receiver>
+
<activity-alias
android:name="ContactShortcut"
android:icon="@drawable/logo_quick_contacts_color_44in48dp"