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

Commit 03362961 authored by Selim Cinek's avatar Selim Cinek
Browse files

By default notifications are allowed to be shown on the lockscreen

While we are initializing the policy file from disk, if there is no
such file we still have to allow the notifications to be shown.
Previously we were assuming that it's false if there's no such tag
in the xml.

Test: existing tests pass
Change-Id: Ia76a8f3e0af1b176de6141bec1db4babd4f97e00
Fixes: 119833914
parent d4c3230d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -411,7 +411,7 @@ public class NotificationManagerService extends SystemService {
    private NotificationAssistants mAssistants;
    private NotificationAssistants mAssistants;
    private ConditionProviders mConditionProviders;
    private ConditionProviders mConditionProviders;
    private NotificationUsageStats mUsageStats;
    private NotificationUsageStats mUsageStats;
    private boolean mLockScreenAllowSecureNotifications;
    private boolean mLockScreenAllowSecureNotifications = true;


    private static final int MY_UID = Process.myUid();
    private static final int MY_UID = Process.myUid();
    private static final int MY_PID = Process.myPid();
    private static final int MY_PID = Process.myPid();