mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 19:33:49 +08:00
handle unregistered devices (#20728)
* handle unregistered devices
* cleanup
* no uploader or athena
* clean up
old-commit-hash: 1786d04239
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