Files
rustdesk/flutter
ignat10 f9586e1714 fix(android): prevent crash on large clipboard payload (>1MB) (#16767)
* Limit oversized remote clipboard text on Android

* Add write permission

* Increase MAX_CLIPBOARD_TEXT_CODE_UNITS to 1MB

* fix: revert unrelated workflow permission changes

* fix(android): address review feedback on clipboard size and exception handling

- Replace UTF-16 character count check with a serialized Parcel size check capped at 800 KB, leaving headroom for Android Binder transaction overhead.
- Wrap setPrimaryClip() in a try-catch to safely absorb direct and runtime-wrapped Binder exceptions (e.g. TransactionTooLargeException) without crashing.
- Assign lastUpdatedClipData only after a successful clipboard write to preserve consistent synchronization bookkeeping on failure.
2026-11-02 12:14:30 +08:00
..
2022-05-12 16:50:30 +08:00
2024-03-22 13:16:37 +08:00
2022-05-23 16:24:56 +08:00
2025-05-11 01:15:29 +08:00
2026-05-26 11:45:15 +08:00
2026-05-26 11:45:15 +08:00
2026-05-26 11:45:15 +08:00
2026-05-26 11:45:15 +08:00
2026-05-26 11:45:15 +08:00
2026-05-26 11:45:15 +08:00
2026-10-30 16:30:09 +08:00
2026-10-30 16:30:09 +08:00
2024-01-06 11:11:35 +08:00
2026-05-26 11:45:15 +08:00

flutter_hbb

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples and guidance on mobile development, and a full API reference.