Is it possible to have two activities, one that opens up on phone and the other that opens on TV devices? I want to have a separate activity for phone and TV. I have the below xml in my AndroidManifest.xml. However, when I run the app on TV emulator, it still opens up LandingScreenActivity.
<activity
android:name=".ui.login.LandingScreenActivity"
android:exported="true"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name=".ui.tv.TVMainActivity"
android:configChanges="keyboard|keyboardHidden|navigation"
android:exported="true"
android:launchMode="singleTask"
android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
</intent-filter>
</activity>