Create unique metrics category for DeviceStateAutoRotateDetailsFragment

DISPLAY_AUTO_ROTATE_SETTINGS is being used by two separate fragments.

Test: none
Bug: 260071662
Change-Id: I8f02e1df54451f0f7501edcf31d8060fdcc604e6
This commit is contained in:
Abel Tesfaye
2022-12-07 00:17:36 +00:00
parent b64d2b2f9e
commit 2404e07ad1
2 changed files with 2 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ public class DeviceStateAutoRotateDetailsFragmentTest {
@Test
public void getMetricsCategory_returnsAutoRotateSettings() {
assertThat(mFragment.getMetricsCategory()).isEqualTo(
SettingsEnums.DISPLAY_AUTO_ROTATE_SETTINGS);
SettingsEnums.DISPLAY_DEVICE_STATE_AUTO_ROTATE_SETTINGS);
}
@Test