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

Commit 1c7a5041 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Post 16KB notification for all users" into main am: 0414af8d am: 8971b66a

parents 8be34b7d 8971b66a
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@ import android.app.PendingIntent;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.UserHandle;
import android.provider.Settings;

import androidx.annotation.NonNull;
@@ -148,7 +149,8 @@ public class PageAgnosticNotificationService extends Service {
    public int onStartCommand(@Nullable Intent intent, int flags, int startId) {
        Notification notification = buildNotification();
        if (mNotificationManager != null) {
            mNotificationManager.notify(NOTIFICATION_ID, notification);
            mNotificationManager.notifyAsUser(null, NOTIFICATION_ID, notification,
                    UserHandle.ALL);
        }
        return Service.START_REDELIVER_INTENT;
    }