Genymobile-scrcpy/server
Romain Vimont cd3a5d50b6 Create ClipboardManager from the main thread
The ClipboardManager is instantiated by the first call to
ServiceManager.getClipboardManager().

Now that scrcpy uses android.content.ClipboardManager directly, it must
ensure that it is created on the main thread (or at least on a thread
with a Looper), to avoid the following error:

> Can't create handler inside thread that has not called
> Looper.prepare()

Refs 8a02e3c2f5
Fixes #6151 <https://github.com/Genymobile/scrcpy/issues/6151>
2025-06-13 09:37:32 +02:00
..
scripts Use "/usr/bin/env bash" for build-wrapper.sh 2020-09-15 13:44:02 +02:00
src Create ClipboardManager from the main thread 2025-06-13 09:37:32 +02:00
.gitignore Convert server to an Android project 2018-01-30 12:01:36 +01:00
build_without_gradle.sh Bump version to 3.3 2025-06-11 19:39:48 +02:00
build.gradle Bump version to 3.3 2025-06-11 19:39:48 +02:00
meson.build Set icon and server env paths for meson devenv 2024-12-12 18:15:26 +01:00
proguard-rules.pro Convert server to an Android project 2018-01-30 12:01:36 +01:00