Disable background dex optimization in AAE

- Dex opt of some APKs takes more than 10 secs, which leads to watchdog
kill or slow user interaction.
- In AAE, background dex optimization will be disabled to mitigate the
these issues.

Bug: 142901145
Test: Enter garage mode and make sure that there is no dex optimization.

Change-Id: Ie4a5626c4a31bf2821ec5af1d11c98d62690167c
(cherry picked from commit 1128b08af608a6ea30ec4151c05f94a237b6840d)
1 file changed
tree: 737819d114377591b845f8c8d8514758f06fd2ed
  1. car-bugreportd/
  2. car-default-input-service/
  3. car-lib/
  4. car-maps-placeholder/
  5. car-systemtest-lib/
  6. car-test-lib/
  7. car-usb-handler/
  8. car_product/
  9. EncryptionRunner/
  10. evs/
  11. FrameworkPackageStubs/
  12. obd2-lib/
  13. procfs-inspector/
  14. service/
  15. tests/
  16. tools/
  17. user/
  18. vehicle-hal-support-lib/
  19. .clang-format
  20. .gitignore
  21. Android.mk
  22. CleanSpec.mk
  23. OWNERS
  24. PREUPLOAD.cfg
  25. README.md
README.md

Native (C++) code format is required to be compatible with .clang-format file. Run

git clang-format --style=file --extension='h,cpp,cc' HEAD~

Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.