commit | c9e6db7c40592b7b6f7e03b71b6e645e7fd6db54 | [log] [tgz] |
---|---|---|
author | Changyeon Jo <changyeon@google.com> | Sun Jun 13 11:18:43 2021 -0700 |
committer | Changyeon Jo <changyeon@google.com> | Wed Jun 16 23:13:43 2021 -0700 |
tree | 07316ca3e4ee37b4cd10012c346971e9cc29a1da | |
parent | 62961885aeb8e3a14858a7526baba43f6e61be20 [diff] |
Add a command to override the target camera device This change adds a car_service command to allow the developers to override the target camera device for CarEvsService's rearview feature. Below command sets a target camera device as /dev/video11: $ adb shell cmd car_service set-rearview-camera-id /dev/video11 And, this command sets a target camera device back to the default device: $ adb shell cmd car_service set-rearview-camera-id default Fix: 190938755 Test: Run above commands and start the rearview activity by injecting events Change-Id: I036e97803f22f5683d032767386dd74a44e743a4
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.