Merge "Delete a broken test" into qt-dev

am: c824a0cb82

Change-Id: I03296dda94edb42b9c9911a8594aca35bcb6465b
This commit is contained in:
Fan Zhang
2019-05-01 07:10:51 -07:00
committed by android-build-merger
3 changed files with 1 additions and 90 deletions

View File

@@ -66,7 +66,7 @@ public class BluetoothDeviceRenamePreferenceController extends
if (TextUtils.equals(getPreferenceKey(), preference.getKey()) && mFragment != null) {
mMetricsFeatureProvider.action(mContext,
SettingsEnums.ACTION_BLUETOOTH_RENAME);
LocalDeviceNameDialogFragment.newInstance()
new LocalDeviceNameDialogFragment()
.show(mFragment.getFragmentManager(), LocalDeviceNameDialogFragment.TAG);
return true;
}

View File

@@ -31,10 +31,6 @@ public class LocalDeviceNameDialogFragment extends BluetoothNameDialogFragment {
public static final String TAG = "LocalAdapterName";
private BluetoothAdapter mBluetoothAdapter;
public static LocalDeviceNameDialogFragment newInstance() {
return new LocalDeviceNameDialogFragment();
}
private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {