Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 0e70c29a authored by bengris32's avatar bengris32 Committed by Sahil Sonar
Browse files

tetris: Use enable instead of start for neural networks & vtservice



* The MTK Neural Networks service is started via a property trigger.
  This HAL starts a lot earlier than other HALs since it is started
  with "start" instead of "enable", the difference between them being
  that "start" will immediately cause the service to try and start, while
  "enable" effectively removes the "disabled" attribute from the service
  (so in the case of a HAL, it will be started with all the other services
  in class hal instead of immediately).

* This initially didn't have any side effects until I noticed the Neural Networks
  service constantly crashing in offline charger mode. To fix this, simply
  convert the "start" command to an "enable" to ensure that this service is not
  only started at the right time (in class hal), but also only started when
  needed (and not in offline charger mode).

Change-Id: Iacf310fb2211117aaf028ad6bf0814a7d447cf53
Signed-off-by: default avatarbengris32 <bengris32@protonmail.ch>
parent 5724f40c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment