commit | 53e5ee86c75df7738c853d2a94ce4dd7f8c3493e | [log] [tgz] |
---|---|---|
author | felipeal <felipeal@google.com> | Fri May 15 17:47:24 2020 -0700 |
committer | felipeal <felipeal@google.com> | Tue May 19 18:29:17 2020 -0700 |
tree | 9c1a1763904a2624807a41f8700422e1a1182a50 | |
parent | b0ab8048dba05b2b8ed7aad99be91e9e8a5e9ca2 [diff] |
Refactored InitialUserSetter to use a single set(InitialUserInfo) method. Before, it was providing 3 different methods (for executeDefaultBehavior(), switchUser(), and createUser()), which would make it harder to add new properties for the initial user (like default locale). Bug: 156611139 Test: atest CarHelperServiceTest CarPowerManagementServiceTest Change-Id: I723c72d1d4c5142e15761bbdf3f66c5b2e86148a
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.