Backup & restore for ringtone vibrations(2nd try)
This CL was reverted due to an autoRotation test failure(b/372382424), fix the tests order as name ascending to avoid it. After CL[1] and CL[2], the ringtone/notification support custome vibration playback. If the user choose ringtone/notification with a vibration, backup original value and use the same value directly for restoring. [1]: I8fc4f49e3801caec1dc2b0b611dd5b3854c6395f [2]: I864c42b5c30f41328633bd37fe8fb571fb9cdbe4 Flag: android.media.audio.enable_ringtone_haptics_customization Bug: 358525300 Bug: 371474327 Bug: 371471679 Bug: 372382424 Test: atest SettingsHelperTest Test: Set up a ringtone with a vibration -> Backup the settings -> Factory reset the device -> Restore the settings from the same user -> Verify the ringtone and vibration are restored Change-Id: Id3c1c1b52fb89e811cd016425e267a7a28e62930
Loading
Please register or sign in to comment