commit | aa974cf42b0b6a69ec60727fe248a1d22be1fe14 | [log] [tgz] |
---|---|---|
author | Wilson Wu <wilsonwu@google.com> | Wed Oct 23 01:56:28 2024 +0000 |
committer | Wilson Wu <wilsonwu@google.com> | Wed Oct 23 03:39:22 2024 +0000 |
tree | 184fe96c6bf4ffe17ea09276e9e10bcae994b4e9 | |
parent | 52b7229db32bfe75bf42c2d52002e54ee4295784 [diff] |
Add null check in vibration util methods To avoid an exception when given ringtone uri is null, add null check in hasVibration method. Also add a check in getVibrationUri method to avoid any potential exception in the future. Flag: EXEMPT bugfix Fix: 374858125 Test: atest RingtoneManagerTest Test: atest RingtoneTest Test: atest RingerTest Change-Id: I51b28dcd349ac040273168aa6bac1427f20d7d95