Skip to content

Commit a832cdd

Browse files
committed
Patch device code for oneplus7
1 parent 65e6b4d commit a832cdd

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

openandroidinstaller/tooling.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,10 @@ def search_device(platform: str, bin_path: Path) -> Optional[str]:
305305
logger.info(f"Search devices on {platform} with {bin_path}...")
306306
# map some detected device codes to their real code.
307307
device_code_mapping = {
308+
# Sony issues
308309
"C6603": "yuga",
310+
# OnePlus issues
311+
"OnePlus7": "guacamoleb",
309312
}
310313
try:
311314
# read device properties

0 commit comments

Comments
 (0)