commit | 800ba45f78de22893c982ac28e4c089ce5faf8f8 | [log] [tgz] |
---|---|---|
author | Iván Budnik <ivanbuper@google.com> | Mon Jun 17 16:37:45 2024 +0100 |
committer | Iván Budnik <ivanbuper@google.com> | Fri Jul 05 15:15:50 2024 +0000 |
tree | 5166ae6c4a6876537929a051ce32cf0af184a837 | |
parent | f82e76adc3d9546a49c879572961548ec9d06610 [diff] |
Fix IAE for bluetooth routes without set BT address This change just adds a last resort check to avoid the exception and fix the crash. Further checks will be added in the routing framework to avoid this incongruent state. Test: atest com.android.settingslib.media and manually with demo app Bug: 347499404 Flag: EXEMPT bugfix (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:ee6d33f4e29fe196c262a3c7051d34ef8f93a62f) Merged-In: I87e6810467bcae0bac7f0418217b03e57c1d8c03 Change-Id: I87e6810467bcae0bac7f0418217b03e57c1d8c03