diff options
author | Tony <twickham@google.com> | 2017-02-13 07:44:01 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-02-16 16:38:54 -0800 |
commit | 4d8019abf4049a337db09c261ce0a01d0077610d (patch) | |
tree | d9af8491b646a2427a350827a612b51abe2b0444 /AndroidManifest-common.xml | |
parent | 4f43bbe048f8cc3da39b779b1ebb038aa39312e7 (diff) | |
download | android_packages_apps_Trebuchet-4d8019abf4049a337db09c261ce0a01d0077610d.tar.gz android_packages_apps_Trebuchet-4d8019abf4049a337db09c261ce0a01d0077610d.tar.bz2 android_packages_apps_Trebuchet-4d8019abf4049a337db09c261ce0a01d0077610d.zip |
Add notification listener back to the manifest
This reverts commit d27b65d4d0035d6b66aac3e6040aa791f155e502.
Also added boolean to values/ and values-v25/ and values-v26/
to enabled/disable the listener by API version.
Bug: 35443111
Bug: 33553066
Change-Id: I69465c720f3b3eca7ae2025e01c315720862bec8
Diffstat (limited to 'AndroidManifest-common.xml')
-rw-r--r-- | AndroidManifest-common.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/AndroidManifest-common.xml b/AndroidManifest-common.xml index 23ea195cd..86ae73e6e 100644 --- a/AndroidManifest-common.xml +++ b/AndroidManifest-common.xml @@ -76,6 +76,14 @@ android:process=":wallpaper_chooser"> </service> + <service android:name="com.android.launcher3.notification.NotificationListener" + android:enabled="@bool/notification_badging_enabled" + android:permission="android.permission.BIND_NOTIFICATION_LISTENER_SERVICE"> + <intent-filter> + <action android:name="android.service.notification.NotificationListenerService" /> + </intent-filter> + </service> + <meta-data android:name="android.nfc.disable_beam_default" android:value="true" /> |