mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-07-13 17:02:06 +08:00
在 frame 之後再開啟 tomtom/autonavi
This commit is contained in:
@@ -371,10 +371,6 @@ 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:
|
||||
@@ -382,6 +378,11 @@ def manager_thread():
|
||||
|
||||
logger_dead = False
|
||||
|
||||
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")
|
||||
|
||||
while 1:
|
||||
msg = messaging.recv_sock(thermal_sock, wait=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user