Merge pull request #6270 from dignow/fix/android_rotation

fix, android rotate screen
This commit is contained in:
RustDesk
2023-11-03 10:34:54 +08:00
committed by GitHub
4 changed files with 7 additions and 4 deletions

View File

@@ -4,8 +4,10 @@ use std::{
sync::{Arc, Mutex, RwLock},
};
#[cfg(any(target_os = "windows", feature = "unix-file-copy-paste",))]
use hbb_common::{allow_err, log};
use hbb_common::{
allow_err, lazy_static, log,
lazy_static,
tokio::sync::{
mpsc::{unbounded_channel, UnboundedReceiver, UnboundedSender},
Mutex as TokioMutex,

View File

@@ -10,11 +10,11 @@ use std::{
ffi::{CStr, CString},
result::Result,
};
use crate::{
allow_err, log, send_data, ClipboardFile, CliprdrError, CliprdrServiceContext, ResultType,
allow_err, send_data, ClipboardFile, CliprdrError, CliprdrServiceContext, ResultType,
ERR_CODE_INVALID_PARAMETER, ERR_CODE_SERVER_FUNCTION_NONE, VEC_MSG_CHANNEL,
};
use hbb_common::log;
// only used error code will be recorded here
/// success