Loading core/java/android/service/notification/ConditionProviderService.java +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.service.notification; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.app.ActivityManager; import android.app.INotificationManager; import android.app.Service; import android.content.ComponentName; Loading Loading @@ -56,6 +57,8 @@ import android.util.Log; * </meta-data> * </service></pre> * * <p> Condition providers cannot be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> */ public abstract class ConditionProviderService extends Service { private final String TAG = ConditionProviderService.class.getSimpleName() Loading core/java/android/service/notification/NotificationListenerService.java +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.annotation.NonNull; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.annotation.TestApi; import android.app.ActivityManager; import android.app.INotificationManager; import android.app.Notification; import android.app.Notification.Builder; Loading Loading @@ -82,6 +83,8 @@ import java.util.List; * method is the <i>only</i> one that is safe to call before {@link #onListenerConnected()} * or after {@link #onListenerDisconnected()}. * </p> * <p> Notification listeners cannot get notification access or be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> */ public abstract class NotificationListenerService extends Service { Loading Loading
core/java/android/service/notification/ConditionProviderService.java +3 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package android.service.notification; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.app.ActivityManager; import android.app.INotificationManager; import android.app.Service; import android.content.ComponentName; Loading Loading @@ -56,6 +57,8 @@ import android.util.Log; * </meta-data> * </service></pre> * * <p> Condition providers cannot be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> */ public abstract class ConditionProviderService extends Service { private final String TAG = ConditionProviderService.class.getSimpleName() Loading
core/java/android/service/notification/NotificationListenerService.java +3 −0 Original line number Diff line number Diff line Loading @@ -21,6 +21,7 @@ import android.annotation.NonNull; import android.annotation.SdkConstant; import android.annotation.SystemApi; import android.annotation.TestApi; import android.app.ActivityManager; import android.app.INotificationManager; import android.app.Notification; import android.app.Notification.Builder; Loading Loading @@ -82,6 +83,8 @@ import java.util.List; * method is the <i>only</i> one that is safe to call before {@link #onListenerConnected()} * or after {@link #onListenerDisconnected()}. * </p> * <p> Notification listeners cannot get notification access or be bound by the system on * {@link ActivityManager#isLowRamDevice() low ram} devices</p> */ public abstract class NotificationListenerService extends Service { Loading