diff --git a/FAQ.md b/FAQ.md index 64002940df..76f572cedf 100644 --- a/FAQ.md +++ b/FAQ.md @@ -24,20 +24,6 @@ If you still encounter problems, please see [issue 9]. [issue 9]: https://github.com/Genymobile/scrcpy/issues/9 -### I get a black screen for some applications like Silence - -This is expected, they requested to [protect] the screen. - -In [Silence], you can disable it in settings → Privacy → Screen security. - -[protect]: https://developer.android.com/reference/android/view/Display#FLAG_SECURE -[silence]: https://f-droid.org/en/packages/org.smssecure.smssecure/ - -See [issue 36]. - -[issue 36]: https://github.com/Genymobile/scrcpy/issues/36 - - ### Mouse clicks do not work On some devices, you may need to enable an option to allow [simulating input]. diff --git a/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java b/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java index 0419dc5224..ec63e81d33 100644 --- a/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java +++ b/server/src/main/java/com/genymobile/scrcpy/ScreenEncoder.java @@ -151,7 +151,7 @@ private static MediaFormat createFormat(int bitRate, int frameRate, int iFrameIn } private static IBinder createDisplay() { - return SurfaceControl.createDisplay("scrcpy", false); + return SurfaceControl.createDisplay("scrcpy", true); } private static void configure(MediaCodec codec, MediaFormat format) {