[feat] add privacy unlock controls and remote relocking

This commit is contained in:
dijunkun
2026-10-27 10:22:25 +08:00
parent d1e4a31efb
commit ea3a2e1faa
41 changed files with 470 additions and 72 deletions
@@ -14,7 +14,7 @@
namespace crossdesk::mobile_controller {
inline std::string PrivacyMessage(int flag, bool block_local_input) {
if (flag < 0 || flag > 2) return {};
if (flag < 0 || flag > 3) return {};
RemoteAction action{};
action.type = privacy_command;
action.pc = {static_cast<PrivacyCommandFlag>(flag), block_local_input};