Skip to content

Commit e0050f9

Browse files
Srinivas SunkaraThe android_world Authors
authored andcommitted
Adding shell to adb commands for get_all_settings.
PiperOrigin-RevId: 811942839
1 parent c8fb7fc commit e0050f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

android_world/env/adb_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1533,9 +1533,9 @@ def _post_process_settings(settings: dict[str, str]) -> dict[str, Any]:
15331533
def get_all_settings(env: env_interface.AndroidEnvInterface) -> dict[str, str]:
15341534
"""Get all settings from the Android system via ADB."""
15351535
adb_commands = [
1536-
'settings list secure',
1537-
'settings list global',
1538-
'settings list system',
1536+
'shell settings list secure',
1537+
'shell settings list global',
1538+
'shell settings list system',
15391539
]
15401540
settings = {}
15411541
for adb_command in adb_commands:

0 commit comments

Comments
 (0)