Add some detail about migrating to OnBackInvokedDispatcher and the
reason behing the deprecation of onBackPressed methods.
Fixes: 227563202
Test: Documentation change only
Change-Id: Ifc2dd88cb9600efae84cd353549811e7b07ae4bc
If the role holder updater fails to update the role holder, it can
specify how the platform should handle the failure. It can either
fail provisioning, or it can carry on using the platform-driven
provisioning.
Bug: 230749552
Test: compiled
Change-Id: Id24b24e5d7386d9806efa232f8c71287c9b7704b
This bypass was originally allowed to let restricted users who can't use
location to pair bluetooth devices. This isn't needed anymore with the
bluetooth permissions.
Test: Set up restricted profile and pair bluetooth
Verify com.android.phone gets rejected
Fixes: 230861324
Change-Id: Ib34c0b56ef52f5ee2deceb84b02cd0ff73d8181d
Bug: 227383489
'dumpsys cacheinfo' can now dump more information about caches, by
supplying arguments to the command. If no switches are specified
then the behavior is unchanged from the baseline. If any switches are
specified then zero or more caches are selected; the command dumps
statistics and content for every selected cache.
The four switches each include a key string.
The switch Selects a cache if
--------------------- ------------------
-name-has=<key> the cache name contains the key
-property-has=<key> the property name contains the key
-name-like=<regex> the cache name matches the regex key
-property-like=<regex> the property name matches the regex key
Tested by running the following commands and manually verifying the
output.
dumpsys cacheinfo com.android.systemui
dumpsys cacheinfo com.android.systemui -name-has=OrganizationOwned
dumpsys cacheinfo com.android.systemui -name-like=OrganizationOwned
- no results, as this regex does not match any cache
dumpsys cacheinfo com.android.systemui -name-like=.*OrganizationOwned.*
dumpsys cacheinfo com.android.systemui -property-has=package_info
dumpsys cacheinfo com.android.systemui -property-like=cache_key.package.*
Test:
* atest FrameworksCoreTests:IpcDataCacheTest
* atest FrameworksCoreTests:PropertyInvalidatedCacheTests
Change-Id: I141d7e85ba3ea8b0f2615bbd49537c1170fb5449
The checkSignatures API return false if target packages do not
install in the current user. This cl fixes the instrumentation
cannot be launched if the target package does not install in
the system user.
NoNonSdkCheck: An equivalent api is available in PackageManager.
Bug: 229979568
Bug: 216113658
Test: atest CrossUserPackageVisibilityTests
Test: atest PackageManagerTest
Test: atest PackageManagerTests
Test: atest OverlayManagerServiceImplTests
Test: atest OverlayManagerServiceImplRebootTests
Test: atest ShortcutManagerMultiuserTest#testSecondaryUser
Change-Id: Idd6afe400453af3259547a069efaf9c86ff1da38
Methods from this manager are being called from the SystemUI main
thread, and hitting system_server locks.
All methods return void, and are already using a callback mechanism,
we can make this oneway.
Fixes: 220718061
Test: Deployed on Phone,CTS tests
Change-Id: Ief549fce0d2463547cade4028696cf9431ce3a84
#createConfirmDeviceCredentialIntent returns null if the device
is insecure.
Bug: 229950204
Test: atest StartActivityAsUserTests
Change-Id: I7de3e72d0677044e282952126612fc3e072d83fd
Updates documentation on Action Button icons to note that icons
are not displayed as of Android 7.0.
Bug: 184243364
Test: Only documentation change
Change-Id: If301c9d5ca46b847be16a741d0aa3bb96b37499c
Test cases:
- DO
- Verify disabled for entire device
- Verify still disabled after restart
- Verify no longer disabled when DO is removed
- COPE
- parent
- Verify disabled for entire device
- Verify still disabled after restart
- Verify no longer disabled when COPE PO is removed
- not-parent
- Verify disabled for user
- Verify disabled after restart
- Verify disabled when PO is removed
Bug: 217558483
Test: DevicePolicyManagerTest
OrgOwnedProfileOwnerTest#testScreenCaptureDisabled
ScreenCaptureDisabledTest
Change-Id: I977eb18619da46e1cfc5d0a8d351ea80d3ea7205