commit | e6fa48fc21c73fd367cc912d209b404654a02b68 | [log] [tgz] |
---|---|---|
author | Nikhil Kumar <nykkumar@google.com> | Mon Aug 07 16:08:47 2023 +0100 |
committer | Nikhil Kumar <nykkumar@google.com> | Thu Aug 10 14:15:50 2023 +0100 |
tree | 55fa7978c99ec928c83eaf4e93500451af8ee30a | |
parent | 39863d79ded8b359d1461f8f39546589b53284d3 [diff] |
Remove default Calls and SMS restrictions from the MAIN user. Main user is a secondary user and in turns enherit the restriction of DISALLOW_OUTGOING_CALLS and DISALLOW_SMS. Refactored the user creation flow to ignore applying these restrictions if the user being created is a MAIN user. Bug: 294821532 Test: atest UserManagerTest#testMainUser_hasNoCallsOrSMSRestrictions -c Change-Id: I7b2baa80c86400a1cb64dfcf12c4c93faa15b556