Suppress NewApi
This commit is contained in:
parent
b9b47fc520
commit
fece0741e5
2 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue