I am looking for a way to extends/inherit PlayerNotificationManager.Builder with new Builder approach in ExoPlayer version 2.14. since earlier methods to subclass, it is deprecated now.
Problem Area -
private class CustomPlayerNotificationManager(
context: Context,
channelId: String,
notificationId: Int,
mediaDescriptionAdapter: MediaDescriptionAdapter
) : PlayerNotificationManager.Builder(context, notificationId, channelId, mediaDescriptionAdapter)
Here PlayerNotificationManager.Builder return builder instance so PlayerNotificationManager is not being subclassed and I am unable to override it getActionIndicesForCompactView method.
Could anyone help me with subclassing it?