Suppress NewApi

This commit is contained in:
Isira Seneviratne 2025-07-27 12:17:44 +05:30
parent d1d1e647d6
commit b4a5960c2f
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();