Mobile MCP: let AI agents drive your iOS and Android apps. MCP server for simulators, emulators and real devices. Works with Claude Code, Codex, Cursor and any MCP client.
TypeScript agentandroidandroid-automationappium-alternativeclaude-codecodexcursoremulatoriosios-automationmcpmcp-servermobilemobile-automationmobile-testingreal-devicesimulatorskills
chore: minor clean ups of redundant comments
gmegidish255b027d9401
diff --git a/src/android.ts b/src/android.tsindex d5be59c..8b3ebc6 100644--- a/src/android.ts+++ b/src/android.ts@@ -213,15 +213,9 @@ export class AndroidRobot implements Robot {}public async setOrientation(orientation: Orientation): Promise<void> {- // Android uses numbers for orientation:- // 0 - Portrait- // 1 - Landscapeconst orientationValue = orientation === "portrait" ? 0 : 1;- // Set orientation using content providerthis.adb("shell", "content", "insert", "--uri", "content://settings/system", "--bind", "name:s:user_rotation", "--bind", `value:i:${orientationValue}`);-- // Force the orientation changethis.adb("shell", "settings", "put", "system", "accelerometer_rotation", "0");}@@ -251,7 +245,7 @@ export class AndroidRobot implements Robot {const dump = await this.getUiAutomatorDump();const parser = new xml.XMLParser({ignoreAttributes: false,- attributeNamePrefix: ""+ attributeNamePrefix: "",});return parser.parse(dump) as UiAutomatorXml;