commit | 21a8866591e491a5f5109ff87a8ec0e1e0b7be53 | [log] [tgz] |
---|---|---|
author | Shen Lin <shhenlin@gmail.com> | Tue Jan 03 14:05:53 2023 +0800 |
committer | Shen Lin <shhenlin@gmail.com> | Tue Jan 03 06:33:34 2023 +0000 |
tree | 3acb74be9055523646d05dc0695364fe1a246f1a | |
parent | d469322a84b7e4ca05f8510148852804238b3291 [diff] |
Introduce isDeviceClassMatched() to align BluetoothClass comparison getBluetoothClass is nullable that caller needs paying attention to. This CL introduced a unified and safe method to BluetoothUtils to align this comparison. Bug: 264162859 Test: atest CachedBluetoothDeviceTest Change-Id: I740defb7bc369f659103b09643c3e37050ea8bbe