mirror of
https://github.com/Genymobile/scrcpy
synced 2025-01-11 17:29:37 +00:00
e26bdb07a2
Replace RotationWatcher and DisplayFoldListener by a single
DisplayListener, which is notified whenever the display size or dpi
changes.
However, the DisplayListener mechanism is broken in the first versions
of Android 14 (it is fixed in android-14.0.0_r29 by commit [1]), so
continue to use the old mechanism specifically for Android 14 (where
DisplayListener may be broken), until we receive the first
"display changed" event (which proves that it works).
[1]: <
|
||
---|---|---|
.. | ||
scripts | ||
src | ||
.gitignore | ||
build_without_gradle.sh | ||
build.gradle | ||
meson.build | ||
proguard-rules.pro |