commit | 01d6f05f5337b7b984bf84fb9cc4e40873b9ba3c | [log] [tgz] |
---|---|---|
author | Sunny Shao <sunnyshao@google.com> | Fri Aug 09 17:03:12 2019 +0800 |
committer | Sunny Shao <sunnyshao@google.com> | Fri Aug 09 17:03:12 2019 +0800 |
tree | 80bd6c4c6f02317de98387550c67716c23f39aa2 | |
parent | 73e3aa192e60bbaa25a782f1ccf648697029c0fd [diff] |
Use Builder to replace the Uitls.addFooterPreference Fixes: 139163212 Test: manual test Test: make RunSettingsRoboTests ROBOTEST_FILTER=com.android.settings.bluetooth Change-Id: I223e4a234d07e5b95ebb9478f0888a4828e8e64d
diff --git a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsMacAddressControllerTest.java b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsMacAddressControllerTest.java index c7eb1bb..749a182 100644 --- a/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsMacAddressControllerTest.java +++ b/tests/robotests/src/com/android/settings/bluetooth/BluetoothDetailsMacAddressControllerTest.java
@@ -37,7 +37,7 @@ 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