commit | 0e5ba68bdbdad69b07a4a8ad666a21643a790b89 | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Tue May 26 17:36:53 2020 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Tue May 26 17:36:53 2020 -0700 |
tree | 0962ee3c312808f90de1a1e4b55fc182ff51cd4e | |
parent | 2e59d38389540e79acbf69e4bd2729799f79c78a [diff] |
Fix bugreport crash on user builds during boot. BugStorageProvider had a check - if the app is disabled, it throws an error. this diff silently ignores onCreate if the app is disabled, and performs checks in query/insert/delete methods. Test: on emulator - restarted and created bugreport with both bugreport enables/disabled state. Bug: 157174424 Change-Id: If20a2e8efe98e796ced0f047ff11aee8daf67874
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.