commit | 452fd7e6a3684176d34deac73947ae9feaf69ac0 | [log] [tgz] |
---|---|---|
author | Eric Jeong <ericjeong@google.com> | Wed Jun 30 13:49:30 2021 -0700 |
committer | Eric Jeong <ericjeong@google.com> | Wed Jun 30 20:17:47 2021 -0700 |
tree | 610d565fc397acbaca781181f800cacd5462a3a9 | |
parent | 0c89bf8c456ca458eb88233a43a1530672c0ca9f [diff] |
Fix flaky SilentModeHandlerUnitTest - Kernel silent mode sysfs is updated in a thread, and due to thread scheduling kernel silent mode sysfs can be updated later. - This causes a test failure. - We need to wait until kernel silent mode sysfs is completedly written before progressing the test. Bug: 192485090 Test: atest SilentModeHandlerUnitTest Change-Id: I806cd954c023b31fb7b0649c246575c9dcc9679b
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.