commit | 4087f3cb346b226963511971abff5a17e95277b1 | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Mon Nov 04 16:23:24 2019 -0800 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Thu Dec 05 17:47:11 2019 -0800 |
tree | be8e7aaefc4be3d7edc118e28f9126b8aa1e6b2a | |
parent | 6615a7fb11b99ff2bfdf2868e28810031d03280a [diff] |
[RESTRICT AUTOMERGE] Add bugreport Config. Config is synced with android.provider.DeviceConfig. - Have sys prop "android.car.bugreport.enableautoupload" to retain current behavior of the AAE BugReport App. It will be removed in upcoming CLs after thoroughly testing DeviceConfig. - New sys prop "android.car.bugreport.force_enable_gcs_upload" will be used to force enable uploading to GCS for testing *user* builds. Because flag "upload_destination=gcs" only works on *userdebug* builds. - The "car" namespace is defined in android.provider.DeviceConfig. Difference from pi-car-dev: - Uses DeviceConfig instead of CarSettings.Global. - Dropped auto_upload flag, instead it checks if upload_destination was set to "gcs". - Dropped CarSettings.Global changes. Test: tested on a hawk bench with different flag values. Change-Id: I616b2dfe0653a6b7a6333aa0f633ca3b88dce5d5 Bug: 143183993 (cherry picked from commit 46446351e8b280f4cd9e10f1ec4f5e1fbd4bf629)
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.