diff options
author | Ruslan Tkhakokhov <rthakohov@google.com> | 2021-05-04 09:38:53 +0100 |
---|---|---|
committer | Ruslan Tkhakokhov <rthakohov@google.com> | 2021-05-04 15:15:02 +0100 |
commit | 6a5ca92e75738e605090feab3b6f95bf4ff37d84 (patch) | |
tree | 63d03c00cad41ca7fe43077c670cc54982648a6e /docs/html/sdk/api_diff/15 | |
parent | 2f8d1baa63712fc7361152f31b92e590f9c04a6c (diff) |
Don't restore notification channel if its sound is unavailable
If the sound we're trying to restore is unavailable on the device, we
set the sound for that channel to system default. Instead, skip restore
of that channel altogether.
Bug: 158351264
Test: 1. Make sure the notification sound in Calendar is set to 'App
provided sound' -> Run backup -> Wipe the device -> Restore ->
Make sure notification sound is still 'App provided sound'.
2. Set notification sound in Calendar to some pre-bundled sound.
-> Run backup -> Wipe the device -> Restore -> Make sure
notification sound for Calendar is restored correctly.
Change-Id: Id0d0a762b381ca1ef7f4cb8305f03e9716282161
Diffstat (limited to 'docs/html/sdk/api_diff/15')
0 files changed, 0 insertions, 0 deletions