Loading core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6784,7 +6784,7 @@ package android.app { method public boolean areNotificationsEnabled(); method public boolean areNotificationsPaused(); method public boolean canNotifyAsPackage(@NonNull String); method public boolean canSendFullScreenIntent(); method public boolean canUseFullScreenIntent(); method public void cancel(int); method public void cancel(@Nullable String, int); method public void cancelAll(); core/java/android/app/NotificationManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -873,7 +873,7 @@ public class NotificationManager { * permission to your manifest, and use * {@link android.provider.Settings#ACTION_MANAGE_APP_USE_FULL_SCREEN_INTENT}. */ public boolean canSendFullScreenIntent() { public boolean canUseFullScreenIntent() { final int result = PermissionChecker.checkPermissionForPreflight(mContext, android.Manifest.permission.USE_FULL_SCREEN_INTENT, mContext.getAttributionSource()); Loading Loading
core/api/current.txt +1 −1 Original line number Diff line number Diff line Loading @@ -6784,7 +6784,7 @@ package android.app { method public boolean areNotificationsEnabled(); method public boolean areNotificationsPaused(); method public boolean canNotifyAsPackage(@NonNull String); method public boolean canSendFullScreenIntent(); method public boolean canUseFullScreenIntent(); method public void cancel(int); method public void cancel(@Nullable String, int); method public void cancelAll();
core/java/android/app/NotificationManager.java +1 −1 Original line number Diff line number Diff line Loading @@ -873,7 +873,7 @@ public class NotificationManager { * permission to your manifest, and use * {@link android.provider.Settings#ACTION_MANAGE_APP_USE_FULL_SCREEN_INTENT}. */ public boolean canSendFullScreenIntent() { public boolean canUseFullScreenIntent() { final int result = PermissionChecker.checkPermissionForPreflight(mContext, android.Manifest.permission.USE_FULL_SCREEN_INTENT, mContext.getAttributionSource()); Loading