MCPcopy
hub / github.com/zai-org/Open-AutoGLM / _handle_back

Method _handle_back

phone_agent/actions/handler.py:190–194  ·  view source on GitHub ↗

Handle back button action.

(self, action: dict, width: int, height: int)

Source from the content-addressed store, hash-verified

188 return ActionResult(True, False)
189
190 def _handle_back(self, action: dict, width: int, height: int) -> ActionResult:
191 """Handle back button action."""
192 device_factory = get_device_factory()
193 device_factory.back(self.device_id)
194 return ActionResult(True, False)
195
196 def _handle_home(self, action: dict, width: int, height: int) -> ActionResult:
197 """Handle home button action."""

Callers

nothing calls this directly

Calls 3

get_device_factoryFunction · 0.90
backMethod · 0.80
ActionResultClass · 0.70

Tested by

no test coverage detected