diff options
| author | 2024-10-11 08:40:36 +0000 | |
|---|---|---|
| committer | 2024-10-14 07:26:48 +0000 | |
| commit | 038d19dafd3e67a70e9ec2cef08171a941685b43 (patch) | |
| tree | c0362f0e456577b43d9684dd4e926bb48fd382d6 /libs/androidfw/ApkParsing.cpp | |
| parent | d2d7bcfde61848faf3b149f605cb2a5c7b60b54b (diff) | |
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions