diff --git a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt index b501a2ebeb64c..ca7a5dbdc36d4 100644 --- a/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt +++ b/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/NotificationSectionsFeatureManagerTest.kt @@ -49,12 +49,12 @@ class NotificationSectionsFeatureManagerTest : SysuiTestCase() { manager!!.clearCache() originalQsMediaPlayer = Settings.System.getInt(context.getContentResolver(), "qs_media_player", 1) - Settings.System.putInt(context.getContentResolver(), "qs_media_player", 0) + Settings.Global.putInt(context.getContentResolver(), "qs_media_player", 0) } @After public fun teardown() { - Settings.System.putInt(context.getContentResolver(), "qs_media_player", + Settings.Global.putInt(context.getContentResolver(), "qs_media_player", originalQsMediaPlayer) }