commit | edec916b18aab3388d50b9225423c1daac808c2c | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Thu Jul 25 08:08:31 2024 +0000 |
committer | Wilson Wu <wilsonwu@google.com> | Mon Jul 29 09:44:52 2024 +0000 |
tree | 20c2b533aba1b19a096b64a6e87cb21a0d47fa63 | |
parent | c00fa9f17e960e798f5f1e84093080a6a91a9d34 [diff] |
Simplify haptic-only ringtone logic The RingtoneFactory.getHapticOnlyRingtone() method used config_defaultRingtoneVibrationSound config to parse the haptic-only ringtone Uri and load Ringtone. Since that config is not used for any devices. Remove the getHapticOnlyRingtone method, use null for Uri and ringtone for haptic-only case. Flag: EXEMPT refactor Bug: 354882163 Test: atest RingerTest Change-Id: Ifdb684f7d0af4bc7fb6819df6414508c09057d26