Show intro and footer string according to the device's supported status

Bug: 390078046
Bug: 386121967
Test: atest HearingAidHelperTest HearingDeviceFooterPreferenceControllerTest HearingDeviceIntroPreferenceControllerTest BluetoothDetailsHearingDeviceSettingsControllerTest
Flag: EXEMPT bugfix
Change-Id: I564cdb80cd14f4d2d8e882b64db939449c6936b7
Signed-off-by: Jie Wang <jie.x.wang@sony.com>
Signed-off-by: Jason Hsu <jasonwshsu@google.com>
This commit is contained in:
jasonwshsu
2025-02-11 03:16:46 +08:00
parent 2117499c9e
commit 9cfc96d948
10 changed files with 418 additions and 14 deletions

View File

@@ -53,7 +53,7 @@ public class BluetoothDetailsHearingDeviceSettingsController extends BluetoothDe
@Override
public boolean isAvailable() {
return mCachedDevice.isHearingAidDevice();
return mCachedDevice.isHearingDevice();
}
@Override