这是indexloc提供的服务,不要输入任何密码
Skip to content

Commit 237d36a

Browse files
Fixed: Fix raw use of parameterized class 'Pair' for NotificationAPI
1 parent 94d478d commit 237d36a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/src/main/java/com/termux/api/apis/NotificationAPI.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,8 @@ static Pair<NotificationCompat.Builder, String> buildNotification(final Context
306306
PendingIntent pi = createAction(context, onDeleteActionExtra);
307307
notification.setDeleteIntent(pi);
308308
}
309-
return new Pair(notification, notificationId);
309+
310+
return new Pair<>(notification, notificationId);
310311
}
311312

312313
private static String getNotificationId(Intent intent) {

0 commit comments

Comments
 (0)