summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUchenna F. Okoye <uokoye@google.com>2020-06-09 16:37:18 -0700
committerIgor Razumeiko <igorr@google.com>2020-06-15 22:00:02 +0000
commit1225029a2d22c2c1fabd7491e060bd120d34a5b4 (patch)
treec03fc437fb6b0ba32e3d4331ad69b80df71c461b
parent59a4f1d38df930c47773e9c052cdbe073f2af879 (diff)
downloadCompanionDeviceSupport-1225029a2d22c2c1fabd7491e060bd120d34a5b4.tar.gz
Add permission SUBSTITUTE_NOTIFICATION_APP_NAME.
This permission allows Companion Device Support and Messaging Sync Feature modify the notification app name to match the 3p messaging app name. Test: Verified by building successfully and testing Notifications showed up as expected. Bug: 155501881 Change-Id: I3670bf0f0e7127ec7e69ff4bb43010e965d36b48
-rw-r--r--AndroidManifest.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 7650413..ab9da21 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -29,6 +29,9 @@
<!-- Needed for the calendar sync feature -->
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
+ <!-- Needed to post messaging notifications on behalf of other apps -->
+ <uses-permission android:name="android.permission.SUBSTITUTE_NOTIFICATION_APP_NAME"/>
+
<application
android:label="@string/app_name"
android:theme="@style/CompanionDeviceSupportTheme"