The example in the doc under “5 steps to run your app on a specific display” works, and I can run moveTaskToBack(true)
to minimize the main Activity, but is it possible to just have one Activity, which opens on the Dex display?
EDIT: Simpler than moveTaskToBack is to not invoke setContentView: //setContentView(R.layout.activity_main)
Thanks, but the Code Lab link seems to use the targetDisplay to launch a different activity. I want to have my app launch only in the Dex display when it’s available.