mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 08:14:00 +08:00
handle unregistered devices (#20728)
* handle unregistered devices * cleanup * no uploader or athena * clean up old-commit-hash: 1786d042396bcc079be5de33ed900f48effcec17
This commit is contained in:
@@ -81,7 +81,7 @@ class Android(HardwareBase):
|
||||
|
||||
def get_serial(self):
|
||||
ret = getprop("ro.serialno")
|
||||
if ret == "":
|
||||
if len(ret) == 0:
|
||||
ret = "cccccccc"
|
||||
return ret
|
||||
|
||||
|
||||
Reference in New Issue
Block a user