Fix junk when loading more settings item

BUG: 377531818
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: Ib6f97c589473aa0c7576af966a78068da273deec
This commit is contained in:
Haijie Hong
2024-11-25 11:48:19 +08:00
parent 1cba219eaf
commit d5c7d17e07

View File

@@ -347,6 +347,7 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
if (view != null) {
view.getViewTreeObserver().addOnGlobalLayoutListener(mOnGlobalLayoutListener);
}
getListView().setItemViewCacheSize(100);
return view;
}