summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Adam Bookatz <bookatz@google.com> 2022-01-13 17:08:10 -0800
committer Adam Bookatz <bookatz@google.com> 2022-01-13 17:21:30 -0800
commita6d9a31a237d858f515a0b047c01c10b986f6439 (patch)
tree8f55ad936f7da3ac7becf1050704dbceed0e99fa /libs/androidfw/StringPool.cpp
parent040d933827667f0d0f19ba3cf91a9e95bf9a7622 (diff)
canAddMoreProfilesToUser considers MaxSupportedUsers
There was a slight bug in the previous code. Managed profiles were subject to not exceeding maxSupportedUsers, but other profile types evaded that condition. It should apply to all profile types (in fact, all users except guest and demo). Bug: 208842920 Test: treehugger Change-Id: I104be8466193376b09e9f4d8c112eb947da7c9c4
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions