Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c3b5da68 authored by Antony Sargent's avatar Antony Sargent
Browse files

BT device renaming: move edit icon and add metrics proto

On the bluetooth device details page, we need to have a dialog for editing
the display name of a paired device. This change moves the icon we need for
the menu item that launches the dialoge from SystemUI to SettingsLib (so we
can then use it in packages/apps/Settings), and also adds a metrics proto
entry to be used when the dialog is opened.

Bug: 62535241
Test: should be covered by existing tests
Change-Id: I63973e59cbd2eeac9bea04f66588f4e0b0254785
parent 610e7400
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -4098,6 +4098,12 @@ message MetricsEvent {
    // OPEN: Settings > Network > Tether > Wi-Fi hotspot
    WIFI_TETHER_SETTINGS = 1014;

    // OPEN: Settings->Connected Devices->Bluetooth->(click on details link for a paired device)
    // -> Edit name button.
    // CATEGORY: SETTINGS
    // OS: O DR
    DIALOG_BLUETOOTH_PAIRED_DEVICE_RENAME = 1015;

    // Add new aosp constants above this line.
    // END OF AOSP CONSTANTS
  }