mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-12-18 14:04:20 +01:00
The PLATFORM variable is assigned either from $ANDROID_PLATFORM or gets a default value (currently $PLATFORM_VERSION). The check to use either dx (SDK < 31) or d8 (SDK >= 31) must be based on the actual $PLATFORM, not the default $PLATFORM_VERSION. Refs52138fd921Refs <57d30780dd/debian/patches/0002-Workaround-broken-script.patch> PR #2850 <https://github.com/Genymobile/scrcpy/pull/2850> Signed-off-by: Romain Vimont <rom@rom1v.com>