Added|Fixed: Add TermuxNotificationUtils.getTermuxOrPluginAppNotificationBuilder() helper function and fix notification icon drawable resource id issue on Android 5

This commit is contained in:
agnostic-apollo
2022-04-26 02:40:12 +05:00
parent ab9b620c88
commit 5290ce1f77
4 changed files with 77 additions and 38 deletions

View File

@@ -51,6 +51,8 @@ public class NotificationUtils {
*
* @param context The {@link Context} for operations.
* @param title The title for the notification.
* @param channelId The channel id for the notification.
* @param priority The priority for the notification.
* @param notificationText The second line text of the notification.
* @param notificationBigText The full text of the notification that may optionally be styled.
* @param contentIntent The {@link PendingIntent} which should be sent when notification is clicked.