more apk cleanup (#20646)

* bump cereal

* cleanup

* little more

Co-authored-by: Comma Device <device@comma.ai>
albatross
Adeeb Shihadeh 2021-04-10 14:53:51 -07:00 committed by GitHub
parent 2f1e05f46b
commit 58dabdda00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 10 deletions

View File

@ -330,12 +330,8 @@ if GetOption("clazy"):
qt_env['CXX'] = 'clazy'
qt_env['ENV']['CLAZY_IGNORE_DIRS'] = qt_dirs[0]
qt_env['ENV']['CLAZY_CHECKS'] = ','.join(checks)
Export('qt_env')
# still needed for apks
zmq = 'zmq'
Export('env', 'arch', 'real_arch', 'zmq', 'SHARED', 'USE_WEBCAM', 'QCOM_REPLAY')
Export('env', 'qt_env', 'arch', 'real_arch', 'SHARED', 'USE_WEBCAM', 'QCOM_REPLAY')
# cereal and messaging are shared with the system
SConscript(['cereal/SConscript'])

2
cereal

@ -1 +1 @@
Subproject commit c803eddb33c05ac8e8704df90bf854e3dda600b3
Subproject commit 7d304cdd296cb90bc15ded22bc50556780ccef51

View File

@ -31,9 +31,6 @@ PRINT_INTERVAL = 5
SLEEP_INTERVAL = 0.2
monitored_proc_names = [
# offroad APK
'ai.comma.plus.offroad',
# android procs
'SurfaceFlinger', 'sensors.qcom'
] + list(managed_processes.keys())

View File

@ -133,6 +133,7 @@ def manager_thread():
msg.managerState.processes = [p.get_process_state_msg() for p in managed_processes.values()]
pm.send('managerState', msg)
# TODO: let UI handle this
# Exit main loop when uninstall is needed
if params.get_bool("DoUninstall"):
break
@ -143,7 +144,7 @@ def main():
manager_init()
# Start ui early so prepare can happen in the background
# Start UI early so prepare can happen in the background
if not prepare_only:
managed_processes['ui'].start()