09-22 10:12:17.066 12499 12499 I TvInputChangeReceiver: Received TvInput change event: com.amazon.tv.action.TV_INPUT_ADDED, for input: com.example.android.sampletvinput/.rich.RichTvInputService
09-22 10:12:17.078 12499 12499 I TIFUtils: Sending initialization intent for com.example.android.sampletvinput
09-22 10:12:18.134 12768 12768 D InitializationReceiver: Received intent with action android.media.tv.action.INITIALIZE_PROGRAMS
09-22 10:12:18.589 12768 12797 D TvContractUtils: Adding channel -941324943 at content://android.media.tv/channel/32
...
...
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Description of changes:
Code changes have already been implemented:
https://code.amazon.com/packages/AndroidTvSampleInput/blobs/3593df731a1e584a2d8975e260431ecd55db79f5/--/AndroidTvSampleInput/app/src/main/java/com/example/android/sampletvinput/InitializationReceiver.java#L16
https://code.amazon.com/packages/AndroidTvSampleInput/blobs/aeaaf4477486e8a55a56b7d0107e9a089a7d7bf3/--/AndroidTvSampleInput/app/src/main/AndroidManifest.xml#L113
This CR adds additional comments to describe usage of INITIALIZE_PROGRAMS
Testing: Verified in the logs that INITIALIZE_PRORGAMS gets sent when sample app is installed
adb logcat TvInputChangeReceiver:D TvContractUtils:D InitializationReceiver:D TIFUtils:D *:S
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.