mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-18 12:28:40 +00:00
* fix: the launcher does not offer its own display as a second screen MainActivity asked for the second-screen candidates with the default display as the primary one. When the launcher is itself shown on another display (DeX, an external monitor), that display was listed as a second screen. Pass the Activity's own display id, as SessionActivity already does. * fix: read the Activity display only on API 30 and newer minSdk is 26 and Activity.getDisplay needs API 30. Use windowManager.defaultDisplay below that. --------- Co-authored-by: ovurrsl <ovurrsl@users.noreply.github.com>