mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-30 19:33:42 +08:00
Merge branch 'devel-en' into devel-zht
# Conflicts: # apk/ai.comma.plus.offroad.apk
This commit is contained in:
Binary file not shown.
@@ -107,6 +107,8 @@ keys = {
|
||||
"DragonUIFace": [TxType.PERSISTENT],
|
||||
"DragonUIDev": [TxType.PERSISTENT],
|
||||
"DragonUIDevMini": [TxType.PERSISTENT],
|
||||
"DragonBootTomTom": [TxType.PERSISTENT],
|
||||
"DragonBootAutonavi": [TxType.PERSISTENT],
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -26,6 +26,8 @@ default_conf = {
|
||||
'DragonUIFace': '0',
|
||||
'DragonUIDev': '0',
|
||||
'DragonUIDevMini': '1',
|
||||
'DragonBootTomTom': '0',
|
||||
'DragonBootAutonavi': '0',
|
||||
}
|
||||
|
||||
deprecated_conf = {
|
||||
|
||||
@@ -118,7 +118,7 @@ managed_processes = {
|
||||
"visiond": ("selfdrive/visiond", ["./visiond"]),
|
||||
"sensord": ("selfdrive/sensord", ["./start_sensord.py"]),
|
||||
"gpsd": ("selfdrive/sensord", ["./start_gpsd.py"]),
|
||||
"updated": "selfdrive.updated",
|
||||
#"updated": "selfdrive.updated",
|
||||
"dashcamd": "selfdrive.dragonpilot.dashcamd.dashcamd",
|
||||
"shutdownd": "selfdrive.dragonpilot.shutdownd.shutdownd",
|
||||
}
|
||||
@@ -147,7 +147,7 @@ persistent_processes = [
|
||||
'tombstoned',
|
||||
'uploader',
|
||||
'ui',
|
||||
'updated',
|
||||
#'updated',
|
||||
'shutdownd',
|
||||
]
|
||||
|
||||
@@ -371,6 +371,10 @@ def manager_thread():
|
||||
|
||||
# start frame
|
||||
pm_apply_packages('enable')
|
||||
if params.get("DragonBootTomTom") == "1":
|
||||
system("am start -n com.tomtom.speedcams.android.map/com.tomtom.speedcams.android.activities.SpeedCamActivity")
|
||||
if params.get("DragonBootAutonavi") == "1":
|
||||
system("start -n com.autonavi.amapauto/.MainMapActivity")
|
||||
system("am start -n ai.comma.plus.frame/.MainActivity")
|
||||
|
||||
if os.getenv("NOBOARD") is None:
|
||||
|
||||
Reference in New Issue
Block a user