Skip to content

Commit

Permalink
Patch device code for oneplus7
Browse files Browse the repository at this point in the history
  • Loading branch information
tsterbak committed Dec 29, 2022
1 parent 65e6b4d commit a832cdd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions openandroidinstaller/tooling.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,10 @@ def search_device(platform: str, bin_path: Path) -> Optional[str]:
logger.info(f"Search devices on {platform} with {bin_path}...")
# map some detected device codes to their real code.
device_code_mapping = {
# Sony issues
"C6603": "yuga",
# OnePlus issues
"OnePlus7": "guacamoleb",
}
try:
# read device properties
Expand Down

0 comments on commit a832cdd

Please sign in to comment.