Remove the margin in Device Detail page

Change-Id: I1add40d94bf1a433d303866353e08a3d790db1ae
Fix: 377517620
Test: manual
Flag: EXEMPT bugfix
This commit is contained in:
Guojing Yuan
2024-11-12 18:40:43 +00:00
parent 8fab3bf097
commit ff0ea037bf

View File

@@ -87,6 +87,12 @@ public class BluetoothDetailsCompanionAppsController extends BluetoothDetailsCon
mProfilesContainer.setLayoutResource(R.layout.preference_companion_app);
}
@Override
public boolean isAvailable() {
// Do not show this preference for now. More details in b/191992001#comment7
return false;
}
private List<AssociationInfo> getAssociations(String address) {
return filter(
mCompanionDeviceManager.getAllAssociations(),