commit | a5bda5ecf2396f46a590659f2c5f8a5592b448cf | [log] [tgz] |
---|---|---|
author | Zhomart Mukhamejanov <zhomart@google.com> | Mon Jul 15 14:36:59 2019 -0700 |
committer | Zhomart Mukhamejanov <zhomart@google.com> | Tue Jul 23 00:29:44 2019 +0000 |
tree | de0e7387df76ecc11f9f37becf7a7289dc26da00 | |
parent | 5c3561c0cea77cb244d9f8a76f5a4bd3abf77e25 [diff] |
Allow requesting audio focus when bugreport recording starts. It allows Android muting other sounds (e.g. radio). It also allow the system to know what the bugreport app is doing. As this is a dev and testing app, we will record voice message even if something interrupts it (e.g. phone call). Bug: 137382123 Test: tested on a hawk (car) and a hawk rig Change-Id: I2fbf8bc337e7c3b6290ca4ac7d23d3ee7f1fb314 (cherry picked from commit 45d7845704554d237b029d0c6b52ae170fed36dc)
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.