summaryrefslogtreecommitdiff
path: root/libs/androidfw/AssetsProvider.cpp
diff options
context:
space:
mode:
author Oli Lan <olilan@google.com> 2022-11-18 18:28:20 +0000
committer Oli Lan <olilan@google.com> 2022-11-29 17:11:53 +0000
commit7d38aca0a7007c5401c95f791bfa89961b0e3763 (patch)
tree4dde61bd17e22974610238ff2bbfafc57b5c077d /libs/androidfw/AssetsProvider.cpp
parentf7d1c837e4c1d4066069716a19d8bacffefd313a (diff)
Add a system API to get the main user.
This adds a system API to get the designated main user on the device. The documentation for the existing isMainUser API is updated to make clear that a main user might not exist on the device, particular for non-phone/tablet form factors, but there will always be at most one main user. The CTS tests for isMainUser are updated to reflect that documentation, and to no longer enforce that the main user is the first user on the device Bug: 259476886 Bug: 256624031 Test: atest UserManagerTest Change-Id: Id1739b188d7c1c0f9006bc473de35a88d09cad95
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions