Return getMetricsCategory() for each new page hearing aid and flash notifications in android U

Bug: 262839191
Test: manual test
Change-Id: I066f49a2537b798132b484f6eff0d0314a164138
This commit is contained in:
jasonwshsu
2023-03-12 20:20:31 +08:00
parent 3a4c6feb0a
commit 6a2db7ee4d
4 changed files with 8 additions and 8 deletions

View File

@@ -20,6 +20,7 @@ import static android.os.UserManager.DISALLOW_CONFIG_BLUETOOTH;
import static com.android.settings.bluetooth.BluetoothDeviceDetailsFragment.KEY_DEVICE_ADDRESS;
import android.app.settings.SettingsEnums;
import android.bluetooth.BluetoothDevice;
import android.content.Context;
import android.util.Log;
@@ -73,8 +74,7 @@ public class BluetoothDetailsAudioRoutingFragment extends RestrictedDashboardFra
@Override
public int getMetricsCategory() {
// TODO(b/262839191): To be updated settings_enums.proto
return 0;
return SettingsEnums.BLUETOOTH_AUDIO_ROUTING;
}
@Override