Merge "Remove the extra space above Spatial audio toggle" into main

This commit is contained in:
Haijie Hong
2024-11-19 09:03:04 +00:00
committed by Android (Google) Code Review

View File

@@ -150,6 +150,9 @@ public class BluetoothDetailsSpatialAudioController extends BluetoothDetailsCont
@Override
protected void init(PreferenceScreen screen) {
mProfilesContainer = screen.findPreference(getPreferenceKey());
if (com.android.settings.flags.Flags.enableBluetoothDeviceDetailsPolish()) {
mProfilesContainer.setLayoutResource(R.layout.preference_category_bluetooth_no_padding);
}
refresh();
}