Skip to content

Commit

Permalink
Adjust the api of execute_adb_action to avoid the dependency on andro…
Browse files Browse the repository at this point in the history
…id_world_controler.

PiperOrigin-RevId: 712560447
  • Loading branch information
The android_world Authors committed Jan 6, 2025
1 parent 5fc92c3 commit 810602f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions android_world/env/actuation.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import logging
import time
from typing import Any

from android_env import env_interface
from android_world.env import adb_utils
from android_world.env import android_world_controller
from android_world.env import json_action
Expand All @@ -29,7 +29,7 @@ def execute_adb_action(
action: json_action.JSONAction,
screen_elements: list[Any], # list[UIElement]
screen_size: tuple[int, int],
env: android_world_controller.AndroidWorldController,
env: env_interface.AndroidEnvInterface,
) -> None:
"""Execute an action based on a JSONAction object.
Expand Down

0 comments on commit 810602f

Please sign in to comment.