commit | 042a73cacd93086661e1488ec3345d17350fe9c8 | [log] [tgz] |
---|---|---|
author | felipeal <felipeal@google.com> | Mon Mar 30 09:24:05 2020 -0700 |
committer | felipeal <felipeal@google.com> | Mon Mar 30 12:07:15 2020 -0700 |
tree | 3cedb756315d53c3f73746c90381fba3e68e1e10 | |
parent | 95e9e1f81ff59ab08e323b46a551218aaefeda90 [diff] |
Changed UserLifecycleEvent to use (int) user ids internally. It must expose UserHandle to the (@System) public methods, but as this event will also used by intenral services, it's better to keep the user id as the "cannonical" value and create the UserHandles on demand. Test: atest UserLifecycleEventTest Fixes: 152043575 Change-Id: I8ed5aa239565774b3c14d634585d049d4df3f13b
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.