Reputation: 1660
I tried adding channels to Default TV App in Android TV using TV Input Framework. Channels are getting added by specifying mandatory params. But the Channel is getting ignored and it shows message,
com.google.android.tv E/ChannelDataManager: Ignoring an incoming channel with invalid input id.
Any Ideas about why this happens and how to mitigate it?
Upvotes: 0
Views: 286
Reputation: 628
You have to set correct input id (TvContract.Channels.COLUMN_INPUT_ID
) which You get with intent for setup activity.
Input id looks like applicationId/classNameRegisteredAsInputService, where
android.permission.BIND_TV_INPUT
: com.company.myapp.tvinput.service.IptvTvInputServiceUpvotes: 1