aboutsummaryrefslogtreecommitdiff
path: root/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml')
-rw-r--r--wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml b/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml
index 04a69e01..b2cba0c9 100644
--- a/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml
+++ b/wearable/wear/SynchronizedNotifications/Application/src/main/AndroidManifest.xml
@@ -42,8 +42,10 @@
</activity>
<service android:name=".DismissListener">
<intent-filter>
- <action
- android:name="com.google.android.gms.wearable.BIND_LISTENER" />
+ <!-- listeners receive events that match the action and data filters -->
+ <action android:name="com.google.android.gms.wearable.DATA_CHANGED" />
+ <!-- filters by Constants.BOTH_PATH ('/both') -->
+ <data android:scheme="wear" android:host="*" android:pathPrefix="/both"/>
</intent-filter>
<intent-filter>
<action