Suppress NewApi

This commit is contained in:
Isira Seneviratne 2025-07-27 12:17:44 +05:30
parent b9b47fc520
commit fece0741e5
2 changed files with 3 additions and 3 deletions

View file

@ -167,7 +167,7 @@ public final class NotificationUtil {
&& notificationBuilder.mActions.get(2).actionIntent != null);
}
@SuppressLint("NewApi") // ServiceInfo constant is inlined
public void createNotificationAndStartForeground() {
if (notificationBuilder == null) {
notificationBuilder = createNotification();