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

Commit fc27dccc authored by Haijie Hong's avatar Haijie Hong
Browse files

Add metrics category for more settings fragment

BUG: 343317785
Test: local tested
Flag: com.android.settings.flags.enable_bluetooth_device_details_polish
Change-Id: I21a3ca0deea516765f1af2f5d7117b6c3c1763a7
parent 09289058
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -16,6 +16,7 @@

package com.android.settings.bluetooth.ui.view

import android.app.settings.SettingsEnums
import android.bluetooth.BluetoothDevice
import android.bluetooth.BluetoothManager
import android.content.Context
@@ -48,8 +49,7 @@ class DeviceDetailsMoreSettingsFragment : DashboardFragment() {
    private lateinit var cachedDevice: CachedBluetoothDevice
    private lateinit var helpItem: StateFlow<DeviceSettingPreferenceModel.HelpPreference?>

    // TODO(b/343317785): add metrics category
    override fun getMetricsCategory(): Int = 0
    override fun getMetricsCategory(): Int = SettingsEnums.BLUETOOTH_DEVICE_DETAILS_MORE_SETTINGS

    override fun onPrepareOptionsMenu(menu: Menu) {
        super.onPrepareOptionsMenu(menu)