scrcpy/server
Romain Vimont 3174ce2d5a Listen to display changed events
Replace RotationWatcher and DisplayFoldListener by a single
DisplayListener, which is notified whenever the display size or dpi
changes.

Still use the old version specifically for Android 14, where
DisplayListener may be broken (it is fixed in recent Android 14
upgrades), until we receive the first DisplayListener event (which
proves that it works).

Refs #4469 <https://github.com/Genymobile/scrcpy/pull/4469>

Co-authored-by: Simon Chan <1330321+yume-chan@users.noreply.github.com>
2024-10-22 09:51:38 +02:00
..
scripts Use "/usr/bin/env bash" for build-wrapper.sh 2020-09-15 13:44:02 +02:00
src Listen to display changed events 2024-10-22 09:51:38 +02:00
.gitignore Convert server to an Android project 2018-01-30 12:01:36 +01:00
build.gradle Upgrade Android SDK to 35 2024-10-20 15:26:19 +02:00
build_without_gradle.sh Upgrade Android SDK to 35 2024-10-20 15:26:19 +02:00
meson.build Remove deprecated meson.source_root() 2022-08-28 15:16:31 +02:00
proguard-rules.pro Convert server to an Android project 2018-01-30 12:01:36 +01:00