commit | 04ee04fc1a211ceb4e09becc5aa4c25d46d244e5 | [log] [tgz] |
---|---|---|
author | Anthony Hugh <ahugh@google.com> | Tue Dec 17 16:11:33 2019 -0800 |
committer | Anthony Hugh <ahugh@google.com> | Wed Dec 18 15:59:58 2019 -0800 |
tree | 88a8a5f56d8b323aaaf9888fc3059e884ba5708c | |
parent | fc9efde69a1a9c405bcda437cf7aaac9ec82b118 [diff] |
Update UserRestriction defaults to use framework mechanisms Updates UserRestriction defaults to use configurable overlays rather than hardcoded logic. More specifically: - Updates system user default UserRestrictions to use config_defaultFirstUserRestrictions - Updates secondary/guest user defaults to use frameworks/base/core/res/res/xml/config_user_types.xml - Removes hardcoded logic for above two changes Bug: 146083467 Test: atest CarServiceUnitTest Change-Id: I4a67c7f13e971ffb2016bede407b0046a8fd257c
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.