Skip to content

Commit

Permalink
Update the instructions for Wear OS 2.x and 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
blunden committed Jan 13, 2022
1 parent 7838662 commit 772756b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ Version 1.1 of the app optionally adds support for full bi-directional
sync. To enable phone to watch sync, users need to manually set the app
as a notification listener **on the watch** by running the following commands:

## Wear OS 2.x/3.x instructions (credit to rhaeus on XDA for finding the new command):

```sh
$ adb shell cmd notification allow_listener se.blunden.donotdisturbsync/se.blunden.donotdisturbsync.DummyNotificationListener
```

## Android Wear 2.0 instructions:

```sh
$ adb shell

$ settings put secure enabled_notification_listeners com.google.android.wearable.app/com.google.android.clockwork.stream.NotificationCollectorService:se.blunden.donotdisturbsync/se.blunden.donotdisturbsync.DummyNotificationListener
```

**NOTE:** If you have already manually added other notification listeners
**NOTE (Only applies to Android Wear):** If you have already manually added other notification listeners
on your watch, you need to instead read the current value and then set it
again with *:se.blunden.donotdisturbsync/se.blunden.donotdisturbsync.DummyNotificationListener*
added.
Expand Down

0 comments on commit 772756b

Please sign in to comment.