Loading core/java/android/app/NotificationManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -2972,6 +2972,7 @@ public class NotificationManager { android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.ACCESS_NOTIFICATIONS}) @FlaggedApi(android.service.notification.Flags.FLAG_CALLSTYLE_CALLBACK_API) @SuppressLint("UserHandle") public void registerCallNotificationEventListener(@NonNull String packageName, @NonNull UserHandle userHandle, @NonNull @CallbackExecutor Executor executor, @NonNull CallNotificationEventListener listener) { Loading core/java/android/service/notification/NotificationAssistantService.java +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.Notification; import android.app.NotificationChannel; Loading Loading @@ -114,6 +115,7 @@ public abstract class NotificationAssistantService extends NotificationListenerS */ protected Handler mHandler; @SuppressLint("OnNameExpected") @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); Loading core/java/android/service/notification/NotificationStats.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ import android.annotation.FlaggedApi; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.Flags; import android.app.RemoteInput; Loading Loading @@ -229,6 +230,7 @@ public final class NotificationStats implements Parcelable { /** * Records that the user has replied to a notification that has a smart reply at least once. */ @SuppressLint("GetterSetterNames") @FlaggedApi(Flags.FLAG_LIFETIME_EXTENSION_REFACTOR) public void setSmartReplied() { mSmartReplied = true; Loading core/java/android/service/notification/ZenPolicy.java +1 −0 Original line number Diff line number Diff line Loading @@ -1007,6 +1007,7 @@ public final class ZenPolicy implements Parcelable { /** * Set whether priority channels are permitted to break through DND. */ @SuppressLint("BuilderSetStyle") @FlaggedApi(Flags.FLAG_MODES_API) public @NonNull Builder allowPriorityChannels(boolean allow) { mZenPolicy.mAllowChannels = allow ? CHANNEL_POLICY_PRIORITY : CHANNEL_POLICY_NONE; Loading Loading
core/java/android/app/NotificationManager.java +1 −0 Original line number Diff line number Diff line Loading @@ -2972,6 +2972,7 @@ public class NotificationManager { android.Manifest.permission.INTERACT_ACROSS_USERS, android.Manifest.permission.ACCESS_NOTIFICATIONS}) @FlaggedApi(android.service.notification.Flags.FLAG_CALLSTYLE_CALLBACK_API) @SuppressLint("UserHandle") public void registerCallNotificationEventListener(@NonNull String packageName, @NonNull UserHandle userHandle, @NonNull @CallbackExecutor Executor executor, @NonNull CallNotificationEventListener listener) { Loading
core/java/android/service/notification/NotificationAssistantService.java +2 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,7 @@ import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SdkConstant; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.Notification; import android.app.NotificationChannel; Loading Loading @@ -114,6 +115,7 @@ public abstract class NotificationAssistantService extends NotificationListenerS */ protected Handler mHandler; @SuppressLint("OnNameExpected") @Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); Loading
core/java/android/service/notification/NotificationStats.java +2 −0 Original line number Diff line number Diff line Loading @@ -19,6 +19,7 @@ import android.annotation.FlaggedApi; import android.annotation.IntDef; import android.annotation.NonNull; import android.annotation.Nullable; import android.annotation.SuppressLint; import android.annotation.SystemApi; import android.app.Flags; import android.app.RemoteInput; Loading Loading @@ -229,6 +230,7 @@ public final class NotificationStats implements Parcelable { /** * Records that the user has replied to a notification that has a smart reply at least once. */ @SuppressLint("GetterSetterNames") @FlaggedApi(Flags.FLAG_LIFETIME_EXTENSION_REFACTOR) public void setSmartReplied() { mSmartReplied = true; Loading
core/java/android/service/notification/ZenPolicy.java +1 −0 Original line number Diff line number Diff line Loading @@ -1007,6 +1007,7 @@ public final class ZenPolicy implements Parcelable { /** * Set whether priority channels are permitted to break through DND. */ @SuppressLint("BuilderSetStyle") @FlaggedApi(Flags.FLAG_MODES_API) public @NonNull Builder allowPriorityChannels(boolean allow) { mZenPolicy.mAllowChannels = allow ? CHANNEL_POLICY_PRIORITY : CHANNEL_POLICY_NONE; Loading