commit | 23e068bf21220fd016e5273c7ef3dbde58a20400 | [log] [tgz] |
---|---|---|
author | felipeal <felipeal@google.com> | Fri Apr 10 13:53:03 2020 -0700 |
committer | felipeal <felipeal@google.com> | Fri Apr 10 14:55:56 2020 -0700 |
tree | 13a26cea7ff66c430631604068dc7a7a6f960818 | |
parent | 0433abd9e999fcffc5f2f8220cc9c84f0ef0819d [diff] |
Make InitialUserSetter more resilient against exceptions. For example, UserManager.createUser() now throws a RuntimeException when adding a second guest. Bug: 153686436 Test: atest InitialUserSetterTest Test: manual verification using User HAL and STR Change-Id: I1610e25418b7153f1a9b95d6ccfd8b54ce29d673
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.