Romain Vimont
Romain Vimont
> Yes, at least Android 12L is required to use the `VIRTUAL_DISPLAY_FLAG_TRUSTED` flag. If you don't pass it, what happens?
I added features to list and start apps. I updated the main post, and also published a binary for this new version. Please test and give feedback :wink:
@eiyooooo I added a commit to fix flags depending on Android versions: 5ee42eab85a3aac28d2cbcced001f011f5cd3be2 However, I have no device with Android 12 or 12L to test, so don't hesitate to suggest...
@eiyooooo OK. > [Commit that granted Shell the ADD_TRUSTED_DISPLAY permission](https://android.googlesource.com/platform/frameworks/base/+/990e3429636382175ca8e7bf04df054f48fbd130) Indeed, it has been merged in Android 13: ```bash # in aosp/framework_base git tag --contains 990e3429636382175ca8e7bf04df054f48fbd130 ``` I first added...
@eiyooooo Done: a46150f753c47d0fb180040448629d229ae74581
Given that loading the app names may take time (several seconds), by default, I reworked so that `--start-app` only accepts package names by default: ``` scrpcy --start-app=org.mozilla.firefox ``` For convenience,...
> Seems like we need to also call getLeanbackLaunchIntentForPackage (https://developer.android.com/reference/android/content/pm/PackageManager#getLeanbackLaunchIntentForPackage(java.lang.String)) for Android TV apps (https://stackoverflow.com/questions/30446052/getlaunchintentforpackage-is-null-for-some-apps). ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/device/Device.java b/server/src/main/java/com/genymobile/scrcpy/device/Device.java index f98988e8c..73f2d312c 100644 --- a/server/src/main/java/com/genymobile/scrcpy/device/Device.java +++ b/server/src/main/java/com/genymobile/scrcpy/device/Device.java @@ -261,7 +261,11...
:+1: Then I will do something like: ```diff diff --git a/server/src/main/java/com/genymobile/scrcpy/device/Device.java b/server/src/main/java/com/genymobile/scrcpy/device/Device.java index f98988e8c..25005081b 100644 --- a/server/src/main/java/com/genymobile/scrcpy/device/Device.java +++ b/server/src/main/java/com/genymobile/scrcpy/device/Device.java @@ -261,7 +261,7 @@ public final class Device { } public...
Done :heavy_check_mark: Btw, I don't know if the audio output is related to a specific display. For example, if I run Firefox in a new virtual display, and VLC on...
I reworked some commits. I pushed a new version and here is a new binary: - [`scrcpy-win64-vd3.zip`](https://tmp.rom1v.com/scrcpy/5370/3/scrcpy-win64-vd3.zip) `SHA-256: 013a4b2a82d12d2a006f128c243130f939331cdd71e0c28886438da1a83c38b` I removed the `Draft:` prefix, I consider that it is ready...