Add "list" and "any_external" options to shade_display_override command
Those options allow to list the available displays (and see which one had the shade), and set the shade window on the first non-default display without caring about display ids.
+ Small refactor to use dagger in ShadePrimaryDisplayCommand and decouple it from ShadeDisplaysRepository
To use them "adb shell cmd statusbar shade_display_override list" or "any_external"
Bug: 362719719
Bug: 374264564
Test: ShadePrimaryDisplayCommandTest
Flag: com.android.systemui.shade_window_goes_around
Change-Id: Ib2be5359c2cd77e903bb7db592354d63cee17a09
4 files changed