commit | 3a08710904be684e1080ec4ab91a5be36fb5a292 | [log] [tgz] |
---|---|---|
author | Angela Wang <angelala@google.com> | Wed Feb 21 10:27:19 2024 +0000 |
committer | Angela Wang <angelala@google.com> | Wed Feb 21 10:27:19 2024 +0000 |
tree | fa5f9259501d1dd89bb159e47f0a92b7afe623e0 | |
parent | 97fa658f893f5e9e0eaef0e5fa60cc47eac4bf75 [diff] |
Fix failing tests in CachedBluetoothDeviceManagerTest Remove unnecessary if statements that will cause the tests failing. This checking will retrieve `mProfiles` in CachedBluetoothDevice which will be empty in test cases. Without the if statement, things will still be correct since there's another value checking if statement inside. Bug: 324862928 Test: atest CachedBluetoothDeviceManagerTest Change-Id: I75561363e74df09801cb550ccd040bf4adbcf357