Use Builder to replace the Uitls.addFooterPreference

Fixes: 139163212
Test: manual test
Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.bluetooth
Change-Id: I223e4a234d07e5b95ebb9478f0888a4828e8e64d
This commit is contained in:
Sunny Shao
2019-08-09 17:03:12 +08:00
parent 73e3aa192e
commit 01d6f05f53

View File

@@ -37,7 +37,7 @@ public class BluetoothDetailsMacAddressControllerTest extends BluetoothDetailsCo
mLifecycle);
setupDevice(mDeviceConfig);
mScreen.addPreference(new FooterPreference.Builder(mContext).setKey(
KEY_DEVICE_DETAILS_FOOTER).build());
KEY_DEVICE_DETAILS_FOOTER).setTitle(KEY_DEVICE_DETAILS_FOOTER).build());
}
@Test