Loading core/java/android/service/notification/NotificationListenerService.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -85,7 +85,10 @@ import java.util.List; * or after {@link #onListenerDisconnected()}. * or after {@link #onListenerDisconnected()}. * </p> * </p> * <p> Notification listeners cannot get notification access or be bound by the system on * <p> Notification listeners cannot get notification access or be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> * {@linkplain ActivityManager#isLowRamDevice() low-RAM} devices. The system also ignores * notification listeners running in a work profile. A * {@link android.app.admin.DevicePolicyManager} might block notifications originating from a work * profile.</p> */ */ public abstract class NotificationListenerService extends Service { public abstract class NotificationListenerService extends Service { Loading Loading
core/java/android/service/notification/NotificationListenerService.java +4 −1 Original line number Original line Diff line number Diff line Loading @@ -85,7 +85,10 @@ import java.util.List; * or after {@link #onListenerDisconnected()}. * or after {@link #onListenerDisconnected()}. * </p> * </p> * <p> Notification listeners cannot get notification access or be bound by the system on * <p> Notification listeners cannot get notification access or be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> * {@linkplain ActivityManager#isLowRamDevice() low-RAM} devices. The system also ignores * notification listeners running in a work profile. A * {@link android.app.admin.DevicePolicyManager} might block notifications originating from a work * profile.</p> */ */ public abstract class NotificationListenerService extends Service { public abstract class NotificationListenerService extends Service { Loading