I am trying to create an application for Android TV using Kotlin. The goal is to launch the application automatically when the TV boots up.
I have already created the app using a BootReceiver and BroadcastReceiver, which works correctly on Android 9 and below. However, it does not work on devices running Android 10 or above.
I also created another version of the application as a launcher app. I disabled the system launcher through ADB and set my app as the default launcher. This also works perfectly on Android 9 and below, but not on Android 10 or above.
How can I achieve the desired behavior on Android 10 and above?
Top comments (0)