Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3942dc8d authored by Arthur Hung's avatar Arthur Hung
Browse files

Fix restoring custom ringtone with custom vibration

Currently, the restore process would be failed because the media file id
could be different in different devices, and that would cause the audio
file can't be found in the new device.

This CL will fix this by calling `getRingtoneUriForRestore' first to get
the restore uri for ringtone audio then append the restore uri for
vibration.

Bug: 436490960
Test: atest SettingsHelperTest
Flag: EXEMPT BUGFIX
Change-Id: I72029350b3b4ccdf113a6683630a0677cef928ed
parent 42bdf1c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment