Fixed Bluetooth renaming bug.

+ After renaming your Bluetooth device, the title of the Bluetooth
    Activity stays "Bluetooth" instead of changing to the new name.
+ After renaming the device, the status at the bottom Bluetooth Settings
    is correctly displayed.

Bug: 16463239
Change-Id: Ifb12df2004fe1f89bd6f918e23c2c64ae08a0191
This commit is contained in:
PauloftheWest
2014-08-08 08:36:26 -07:00
parent b5fca45768
commit ed7b44d83d
3 changed files with 5 additions and 7 deletions

View File

@@ -178,7 +178,6 @@ public final class BluetoothNameDialogFragment extends DialogFragment implements
mDeviceNameUpdated = true;
mDeviceNameEdited = false;
mDeviceNameView.setText(mLocalAdapter.getName());
getActivity().setTitle(mLocalAdapter.getName());
}
}