Age | Commit message (Collapse) | Author |
|
This reverts commit 0b3022e555fdf158dbdcc5171e24e1c574e0a9fe.
Reason for revert: b/409604217
Relnote: N/A
NO_IFTTT=not applicable
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:0c8729509e4e444734e4d8827ad4e5b29b14fc62)
Merged-In: Iab3a924bb0d9a2b81e19ec04d74c50491a062faa
Change-Id: Iab3a924bb0d9a2b81e19ec04d74c50491a062faa
|
|
Bug: 378102594
Flag: android.app.supervision.flags.supervision_manager_apis
Test: atest CtsSupervisionTestCases
Relnote: N/A
Change-Id: Iec86b5423299ae0d43d5e40ff5184ede0a8095b6
|
|
b/398830041 currently impacts flag value matching for mainline module on
V platform. According to trunk stable team, these flag checks can be
replaced with sdk version check. Hence removing the flag checks in this
CL
Bug: 396234389
Test: Build
Flag: EXEMPT bugfix
Relnote: N/A
Change-Id: Id351f1516d9db763e8d765da552d4da2182300b9
|
|
Bug: 396225382
Flag: EXEMPT log only update
Relnote: N/A
Test: build
Change-Id: I753e7452e05effbbc8aeae2bda62c7ca659f3cb4
|
|
When setting role holder ensure the parent profile role fallback is
reenabled
Bug: 399184180
Flag: com.android.permission.flags.cross_user_role_ux_bugfix_enabled
Relnote: N/A
Test: atest RoleManagerMultiUserTest
Change-Id: I64db7f9dcf13ef3da89f175f1b5512b229fd11d3
|
|
Right now bypassing qualification for a static role allows assigning a
different holder initially but still randomly reverts it later on. We
should not try to revert to the static holder while we are bypassing
qualifications.
Bug: 390304109
Flag: EXEMPT bugfix
Test: presubmit
Relnote: N/A
Change-Id: I64881c83798cd32f7766eab5f9b609f4bdbb4dee
|
|
LOW_COVERAGE_REASON=b/377295697
Bug: 394850733
Flag: EXEMPT bugfix
Relnote: n/a
Test: atest RoleManagerMultiUserTest
Change-Id: Ib4c7a42e0134cdf21481732d6fc160d78900d9f5
|
|
Bug: 383538899
Flag: EXEMPT bugfix
Relnote: N/A
Test: atest RoleManagerMultiUserTest
Change-Id: I03f3dfd9a6c915c0ec4a95adc559d08de95d4c50
|
|
Replace custom sdk check with SdkLevel
Bug: 372743073
Flag: EXEMPT bugfix
Relnote: N/A
Test: build
Change-Id: Ib2bed2592749a38e9311219fc5dadd919eb46cf1
|
|
role" into main
|
|
Bug: 379143953
Flag: com.android.permission.flags.cross_user_role_ux_bugfix_enabled
Relnote: N/A
Test: atest RoleManagerMultiUserTest
Change-Id: I448a8d2a90c0121338876ef04c843f4758e17c6a
|
|
For assistant, it can be enabled by overlaying PermissionController
config_recommendedAssistants with a list of package names, optionally
with signing certificate digests if the app needs to be a non-system
app, similar to the config for default holders.
This is not available for the request role dialog yet and thus still
can't be used with a role that allows requesting.
Bug: 388234667
Relnote: N/A
Flag: com.android.permission.flags.default_apps_recommendation_enabled
Test: manual
Change-Id: I10a387c31362a126ee6264915f40f14926e06910
|
|
So that it can better accommodate new features.
Default holders logic is extracted into SignedPackage(Utils) for reuse,
a RoleApplicationItem is added to replace the previous Pair, the
LiveData transformation functions are made generic, and
DefaultAppChildFragment preference code is also refactored to be more
reusable.
Bug: 388234667
Relnote: N/A
Flag: EXEMPT bugfix
Test: presubmit
Change-Id: I3285e868c6d7457dfd42bbe12c741e5cae2f78f5
|
|
Starting Android 16 no longer needed as CTS rely on Shell.
The tests can use the Shell identity and the new CDM test API to
acquire the needed permissions and create a virtual device
Fix: 391599609
Test: atest
Flag: EXEMPT test improvement
LOW_COVERAGE_REASON=NON_CODE_ONLY
Relnote: N/A
Change-Id: I4d61f2c5d086d9eeb7393ea18c6693d30b26eb57
|
|
|
|
|
|
Default app list should show all profiles when opening with profile
parent
Default app list should only show work profile when opening with work
profile
Default app list should only show private profile when opening with
private profile
Bug: 390247739
Flag: EXEMPT bugfix
Relnote: Fix shown profiles in default app list
Test: manual
Change-Id: Ib7a003e48a731d6c5b79b373bc35ec703a55c347
|
|
|
|
Flag: android.app.appfunctions.flags.enable_app_function_manager
Test: Existing coverage
Bug: 383498170
Relnote: N/A
LOW_COVERAGE_REASON=TEST_ONLY
Change-Id: I38084323489d8940ae236edca48b6f0698b83869
|
|
Fix bug where if role was `visible="false"` in roles.xml, then
RoleBehavior was not able to enable it by overriding RoleBehavior.isVisibleAsUser()
Bug: 383126474
Flag: EXEMPT bugfix
Relnote: N/A
Test: atest RoleManagerTest
Test: atest RoleMultiUserTest
Test: atest RoleParserTest
Change-Id: Ib07ea13199641d4301f397452d4b03f173cf376f
|
|
Bug: 356107987
Test: manual
Flag: android.permission.flags.wallet_role_cross_user_enabled
Relnote: Allow wallet role to be used in profiles
Change-Id: I5191a2f260173a8bf836a1b0ad673b82062f1bba
|
|
Allows DEVICE_POLICY_MANAGEMENT to modify/query active user for cross-user roles
Bug: 387560997
Change-Id: Iaaed754786ed72005a2954d08896f0fd3462973a
Flag: com.android.permission.flags.cross_user_role_enabled
Relnote: N/A
Test: builds
|
|
* changes:
Fix selecting none default app
Fix profile group exclusive role request
|
|
Fix selection of "none" default apps when the current active user for a
profile group exclusive role is not the primary user
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Bug: 382688491
Flag: com.android.permission.flags.cross_user_role_enabled
Relnote: N/A
Test: atest RoleManagerTest
Test: atest RoleManagerMultiUserTest
Change-Id: Id362c17ac9ae937228667f3617eb937d97d90111
|
|
Profile group exclusive roles may show the same package for multiple
users in a role request activity, this fix ensures the correct user was
set as role holder for the user selection.
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Bug: 378888203
Flag: com.android.permission.flags.cross_user_role_enabled
Relnote: N/A
Test: atest RoleManagerTest
Test: atest RoleManagerMultiUserTest
Change-Id: I3128c8b1419afce31104ba4f8af91fa1b56c2b53
|
|
Update isAvailableAsUser logic concerning profileGroup exclusivity to be
more readable
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Bug: 384770324
Flag: com.android.permission.flags.cross_user_role_enabled
Relnote: N/A
Test: RoleManagerMultiUserTest
Test: manual
Change-Id: I2a9cda83ad88bbd8895d1f9702ddd1a88140f14f
|
|
Bug: 381900860
Flag: com.android.settingslib.flags.settings_catalyst
Flag: com.android.settingslib.flags.write_system_preference_permission_enabled
Test: manual test via build + verifying permissions available on app
Relnote: N/A
NO_IFTTT=flag jarjar logic already covered
LOW_COVERAGE_REASON=NON_CODE_ONLY
Change-Id: I869ce060616ed4000ddf1b17a66d93fc6bb93429
|
|
Show profile group exclusive roles in primary default app list section.
Show all users for which profile group exclusive role is available in default app screen.
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 378887269
Test: atest RoleManagerTest
Test: atest RoleManagerMultiUserTest
Change-Id: Id0596f089d8cdcf13941646c547871fce679de18
|
|
Followup fixes for RoleManager get/setDefaultHoldersForTest and is/setRoleVisibleForTest
LOW_COVERAGE_REASON=b/382484309
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 381315745
Test: atest RoleManagerTest
Test: atest RoleManagerMultiUserTest
Change-Id: I19ddcd4a71682f89ccf32322833db3404f46c86f
|
|
profile/user" into main
|
|
|
|
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 382514430
Test: atest RoleManagerMultiUserTest
Change-Id: I78abf982c1c633db366fb4951f3ff6fde8c6612c
|
|
Add role methods to assist in setting test role visiblity and default holders
LOW_COVERAGE_REASON=b/382484309
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 381315745
Test: atest RoleManagerTest
Change-Id: I6d1d4200849a2be994f83da675fc57837ae7204f
|
|
|
|
profileGroup exclusive roles" into main
|
|
profileGroup exclusive roles
If a role is profile group exclusive and users is not active, do not
apply default role holder and fallback role holder for user
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 379143798
Test: atest RoleManagerMultiUserTest
Change-Id: I068f3eebd4ad368e68d3b3ce1069d8663a94fb5a
|
|
|
|
This was added in ag/30578611 but was reverted due to a test failure.
This CL fixes the test failure
Bug: 381303924
Test: atest PermissionPolicyTest
Relnote: N/A
Flag: android.app.admin.flags.split_create_managed_profile_enabled
NO_IFTTT=flag jarjar logic already covered
LOW_COVERAGE_REASON=NON_CODE_ONLY
Change-Id: I6a0d4a096c47dae4cf89981554e2c87ba35a6a55
|
|
Add RoleParser requirement that preferred activites can not be added to
a profileGroup exclusive role. This is to prevent preferred activities to be applied for cross user scenarios
RelNote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 379141911
Test: atest RoleParserTest
Change-Id: Iff9e945c579764f7b54892886bfdf9416eb7d80c
|
|
Ensure that profileGroup exclusive role is only available if also available for the profile-group's full user
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 376133070
Test: manual
Change-Id: Id3f6ae8a8702edf371cd63b8b34e894b5ac5fc86
|
|
Revert submission 30578537-admin-flag-export
Reason for revert: Likely culprit for b/381215589 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Reverted changes: /q/submissionid:30578537-admin-flag-export
Change-Id: I2dab6615dbb3ee37d06d9419f904d182b9e7086b
|
|
profile group exclusive roles.
This is to prevent preferred activities to be applied for cross user scenarios
RelNote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 379141911
Test: manual
Change-Id: Ib3f6bb06f7415aabcca20002a7acff50f78e7687
|
|
Bug: 380793808
Test: atest PermissionPolicyTest
Relnote: N/A
Flag: android.app.admin.flags.split_create_managed_profile_enabled
NO_IFTTT=flag jarjar logic already covered
Change-Id: I52df63f0cdbe0b1f36768228cb605c4d3f701330
|
|
Set active user for profilegroup exclusive roles when calling
setDefaultApplication and addRoleHolderAsUser API
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Test: atest RoleManagerMultiUserTest
Bug: 378887974
Bug: 378888547
Change-Id: Ifd8e9a60f5024799dd4dc81d00cd578d799a4114
|
|
NO_IFTTT=flag jarjar logic already covered
Relnote: Creating a new role to be held by a system app responsible for installing shared library dependencies required by the current active install session.
Bug: 372862084
Test: local testing
FLAG: android.content.pm.sdk_dependency_installer
Change-Id: I776e7b494f94b55f4ef92e686ae7a498b521682b
|
|
Add RoleBehavior getExclusivity override.
Also update showNone to be false if role is not exclusive. This is normally enforced in role parser, but needs to be enforced here too now that RoleBehavior can override to be a non-exclusive role.
Relnote: N/A
Flag: com.android.permission.flags.cross_user_role_enabled
Bug: 373390494
Test: manual
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Change-Id: I67d55f5c96c8040e65fa64f360c70648e0247c75
|
|
|
|
Add persistence for cross-user role support.
LOW_COVERAGE_REASON=FLAG_NOT_ENABLED
Relnote: Add cross-user role persistence
Flag: com.android.permission.flags.cross_user_role_enabled
Test: atest RolesPersistenceTest
Bug: 373469933
Change-Id: I428f1033e8c76959fea611070a79ac1c7b3eb6ac
|
|
|
|
|