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

Commit d2787bc5 authored by Michael Mikhail's avatar Michael Mikhail Committed by Android (Google) Code Review
Browse files

Merge "Read setting media show on lockscreen" into tm-qpr-dev

parents d5e7f038 e355f223
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -130,7 +130,12 @@ constructor(
    private var splitShadeContainer: ViewGroup? = null

    /** Track the media player setting status on lock screen. */
    private var allowMediaPlayerOnLockScreen: Boolean = true
    private var allowMediaPlayerOnLockScreen: Boolean =
        secureSettings.getBoolForUser(
            Settings.Secure.MEDIA_CONTROLS_LOCK_SCREEN,
            true,
            UserHandle.USER_CURRENT
        )
    private val lockScreenMediaPlayerUri =
        secureSettings.getUriFor(Settings.Secure.MEDIA_CONTROLS_LOCK_SCREEN)