mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-04 23:50:20 +00:00
fix(android): remove mic and screen foreground services
This commit is contained in:
@@ -12,7 +12,7 @@ import { resolveGatewayCredentialsFromConfig } from "./credentials.js";
|
||||
const LIVE = isTruthyEnvValue(process.env.LIVE) || isTruthyEnvValue(process.env.OPENCLAW_LIVE_TEST);
|
||||
const LIVE_ANDROID_NODE = isTruthyEnvValue(process.env.OPENCLAW_LIVE_ANDROID_NODE);
|
||||
const describeLive = LIVE && LIVE_ANDROID_NODE ? describe : describe.skip;
|
||||
const SKIPPED_INTERACTIVE_COMMANDS = new Set<string>(["screen.record"]);
|
||||
const SKIPPED_INTERACTIVE_COMMANDS = new Set<string>();
|
||||
|
||||
type CommandOutcome = "success" | "error";
|
||||
|
||||
@@ -120,15 +120,6 @@ const COMMAND_PROFILES: Record<string, CommandProfile> = {
|
||||
timeoutMs: 30_000,
|
||||
outcome: "success",
|
||||
},
|
||||
"screen.record": {
|
||||
buildParams: () => ({ durationMs: 1500, fps: 8, includeAudio: false }),
|
||||
timeoutMs: 60_000,
|
||||
outcome: "success",
|
||||
onSuccess: (payload) => {
|
||||
const obj = assertObjectPayload("screen.record", payload);
|
||||
expect(readString(obj.base64)).not.toBeNull();
|
||||
},
|
||||
},
|
||||
"camera.list": {
|
||||
buildParams: () => ({}),
|
||||
timeoutMs: 20_000,
|
||||
|
||||
Reference in New Issue
Block a user