You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when we try to launch any app from virtual display it launch on primary display with a toast app doesn't support to launch on secondary display but if we launch it with with adb shell it did launch on secondary display as show in first video with second attempt, otherway around if we manually create virtual display from developers options then launching a app with adb it launch on secondary display fine, so seems like there was some problem with virtual display trusted flag for android 10.
here are the videos :
virtual display created with scrcpy
Video_2024-11-26_11-28-21.mp4
virtual display created from developers options
Video_2024-11-26_12-58-00.mp4
The text was updated successfully, but these errors were encountered:
OK, I have no control over this behavior. The virtual display creation from developer options is different (it keeps an overlay on the main display), so it probably calls some other code.
Out of curiosity, what happens with a mix of the two:
start a new display with scrcpy --new-dsplay=1920x1080, keep it open
mirror that new display with scrcpy --display-id=XX
OK, I have no control on this behavior. The virtual display creation from developer options is different (it keeps an overlay on the main display), so it probably calls some other code.
Out of curiosity, what happens with a mix of the two:
start a new display with scrcpy --new-dsplay=1920x1080, keep it open
mirror that new display with scrcpy --display-id=XX
start an app from the second window
just tried and it make no difference app still launch on primary display
Environment
when we try to launch any app from virtual display it launch on primary display with a toast
app doesn't support to launch on secondary display
but if we launch it with with adb shell it did launch on secondary display as show in first video with second attempt, otherway around if we manually create virtual display from developers options then launching a app with adb it launch on secondary display fine, so seems like there was some problem with virtual display trusted flag for android 10.here are the videos :
virtual display created with scrcpy
Video_2024-11-26_11-28-21.mp4
virtual display created from developers options
Video_2024-11-26_12-58-00.mp4
The text was updated successfully, but these errors were encountered: