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

Commit 486b1788 authored by LuK1337's avatar LuK1337 Committed by Zhao Wei Liew
Browse files

SystemUI: Never link nofication volume on non-voice capable devices

Change-Id: Ie7866314b714d312369595d66cf0459d7f8c1c1a
parent 20ac2ca2
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -422,6 +422,9 @@ public class VolumeDialogController {
    private boolean updateLinkNotificationConfigW() {
        boolean linkNotificationWithVolume = Settings.Secure.getInt(mContext.getContentResolver(),
                Settings.Secure.VOLUME_LINK_NOTIFICATION, 1) == 1;
        if (!Util.isVoiceCapable(mContext)) {
            return false;
        }
        if (mState.linkedNotification == linkNotificationWithVolume) {
            return false;
        }