commit | 049b4bfc124523bab92c7d4b4d896fe4b0712daf | [log] [tgz] |
---|---|---|
author | felipeal <felipeal@google.com> | Tue Mar 31 14:47:06 2020 -0700 |
committer | felipeal <felipeal@google.com> | Tue Mar 31 15:36:29 2020 -0700 |
tree | 26c579e0dd9474367344d912c7b4b627c497713d | |
parent | 95e9e1f81ff59ab08e323b46a551218aaefeda90 [diff] |
Fixed user switching on resume when not allowed by the OEM. It should check if the existing user is a guest, and replace it if so. Test: atest CarPowerManagementServiceTest Bug: 150419143 Change-Id: I5ed3fa20fd77a069af95cdcf0394ecb130d2dd3c
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.