Add hint for device rename editbox

BUG: 386721884
Test: local tested
Flag: EXEMPT minor fix
Change-Id: I0722d5e30b112c10c53f21e6b08543b2719bfa0f
This commit is contained in:
Haijie Hong
2025-01-13 20:01:17 +08:00
parent 44e13bf11e
commit 0999725c18

View File

@@ -117,6 +117,7 @@ abstract class BluetoothNameDialogFragment extends InstrumentedDialogFragment
.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
View view = layoutInflater.inflate(R.layout.dialog_edittext, null);
mDeviceNameView = (EditText) view.findViewById(R.id.edittext);
mDeviceNameView.setHint(R.string.bluetooth_device_name);
mDeviceNameView.setFilters(new InputFilter[] {
new BluetoothLengthDeviceNameFilter()
});