Revert "Implement local color extraction"
Revert "Implement local color extraction"
Revert submission 13553866-wallpaper-local-color-extraction-sc-dev
Reason for revert: b/180490435
Reverted Changes:
I5755525f9:Wallpaper Local color sampling
I5487881c0:Implement local color extraction
Icbab7c6c2:Implement local color extraction
Change-Id: I1cf02a24555167165959e5c4f0bd25b655bd6b6e
Allow apps to launch a mini notification channel editing
UI targeted at the fields the user wants to edit depending on
the launch context.
Test: Settings robotests
Bug: 177246841
Change-Id: I4ca552ff80e7c55c6845022ef94361fae4cd8e20
Changes
* The profile owner on the managed profile can
set the network logging delegate.
* If delegated by a profile owner, network logs will
only be collected on the work profile.
Bug: 170460270
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testNetworkLoggingDelegate
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testNetworkLoggingDelegate
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testDelegate
atest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testDelegate
atest com.android.cts.devicepolicy.MixedProfileOwnerTest#testDelegate
Change-Id: I95009ff67716ba259b5e0a8f61d8908cb1c6da4a
Merged-In: I95009ff67716ba259b5e0a8f61d8908cb1c6da4a
Background
* The admin can disable signaling over USB on
corporate owned devices
Changes
* Add DevicePolicyManager API to enable and
disable USB data signaling.
* Add DevicePolicyManager API to test of this
feature is supported.
Bug: 168301639
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
make RunSettingsLibRoboTests -j ROBOTEST_FILTER=EnableAdbPreferenceControllerTest
Change-Id: I1d2d71ec05a1565f58ffd691a66c68171a4f9b00
Merged-In: I1d2d71ec05a1565f58ffd691a66c68171a4f9b00
Changes
* The profile owner can enable network logging
on the work profile.
* The network logs only include work profile
network activity (not personal profile activity).
Bug: 170460270
Test: atest com.android.server.devicepolicy.DevicePolicyManagerTest
atest com.android.server.devicepolicy.NetworkEventTest
atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testNetworkLogging
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithTwoUsers
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLoggingWithSingleUser
atest com.android.cts.devicepolicy.DeviceOwnerTest#testNetworkLogging_multipleBatches
Change-Id: I4727ba7cbc62f9cd187f82a9527f0475345fd555
Merged-In: I4727ba7cbc62f9cd187f82a9527f0475345fd555
Remove, from the system API surface, the canAdminGrantSensorsPermissionsForUser
method, leaving only canAdminGrantSensorsPermissions.
In canAdminGrantSensorsPermissions, get the user ID from the context.
This means callers that need to find out the permission grant state for
a particular user would have to construct a context object for that
user.
Bug: 179690270
Bug: 170627643
Test: DeviceOwnerTest#testDeviceOwnerProvisioning ManagedProvisioningTests:com.android.managedprovisioning.parser.ExtrasProvisioningDataParserTest ManagedProvisioningTests:com.android.managedprovisioning.parser.PropertiesProvisioningDataParserTest ManagedProvisioningTests:com.android.managedprovisioning.model.ProvisioningParamsTest android.devicepolicy.cts.DevicePolicyManagerTest com.android.cts.devicepolicy.MixedDeviceOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.DeviceOwnerTest#testAdminControlOverSensorPermissionGrantsDefault com.android.cts.devicepolicy.MixedProfileOwnerTest#testAdminControlOverSensorPermissionGrantsDefault
Change-Id: I118f642c15b3f9848ff97d13e1e32b3bd5dba63d
Initialize reboot readiness service from the
system server. This service is started
by calling into service-scheduling.jar
directly.
Test: Manual, add logs to check that service
is correctly started.
Bug: 161353402
Change-Id: I06d55ee6ee5c3dde7524cf508324fd408fb81d22
Optimizes the workflow to check multiple URI permissions, which
currently need to be checked one URI at a time.
New APIs are logically similar to existing APIs: checkUriPermission,
checkCallingUriPermission and checkCallingOrSelfUriPermission. The
new APIs would take input of a collection of URIs instead of just one
URI.
Bug: 179362563
Test: atest ContextTest.java
Test: atest ExternalStorageHostTest#testMediaEscalation_RequestWriteFilePathSupport
Change-Id: I9cd6278f9b865c0532afc337b089771df6aea8c5
* changes:
Add two more Api for SplashScreenView(7/N)
Support persist night mode for application(6/N)
Allow ShortcutInfo to specify a theme for splash screen.(5/N)
Add API for show branding image on splash screen.(4/N)
Provide new APIs for customize splash screen window.(3/N)
Customizable exit splash screen animation.(2/N)
Developer now can use UiModeManager setApplicationNightMode to set
the night mode and persist in framework. Next time when start a new
process with the same package and userId, the persisted configuration
will be overload to the process and activities.
Introduce PackageConfigPersister, used to presist configuration for
each package.
Reference: go/wm-config-persist
Bug: 73289295
Test: atest SplashscreenTests
Change-Id: I17025a61526492596705ffe58ce450c328ff9470
Provides new APIs so that shortcuts can preset the theme of the splash
screen window.
- Static way: android:splashScreenTheme
Preset the splash screen theme from xml.
- Dynamic way: ShortcutInfo.Builder#setStartingTheme
Preset the splash screen theme when construct the ShortcutInfo
programmatically.
Bug: 73289295
Test: build/flash
Test: atest AppWindowTokenTests ActivityRecordTests
Change-Id: Ie5e73f9b22fea22659e496c12198c942f4bc93cd
Introduce new APIs to customize exit splash screen animation.
- SplashScreen
This can be used for Activity to handle the exit splash screen
animation.
- SplashScreen#OnExitAnimationListener
When receive onSplashScreenExit, the splash screen view will be on
top of the activity.
- SplashScreenView
The view object which represents the view of current starting window.
There are two APIs for developer to control it:
- getIconView: get the icon view object.
- remove: remove the view and release resources.
If an Activity create a OnExitAnimationListener and set on
SplashScreen, the core will request a copy of SplashScreenView
from Shell, then send the parcelable information to client to
reconstruct the view on top of the DecorView, then call
onSplashScreenExit to let the listener able to operating this view.
Bug: 73289295
Test: build/flash, check splash screen starting window.
Test: atest StartingSurfaceDrawerTests ActivityRecordTests
WindowOrganizerTests
Test: atest CtsWindowManagerDeviceTestCases:SplashscreenTests
Change-Id: I9f77fb4471bcf37a7f74d6c18a345ca56c05b716
* changes:
Check registering system default callback needs NETWORK_SETTINGS.
Move VPN code from ConnectivityService to VpnManagerService.
Add a skeleton VpnManagerService, and start it on boot.
Convert LockdownVpnTracker to NetworkCallbacks.
Minor fixes to VpnTransportInfo.
We currently maintain an instance of FullBackup::BackupScheme
(encapsulates full backup policies, including include / exclude rules)
per package. In line with the new include / exclude config format, where
the rules for each operation types are separate, create BackupScheme per
(package; operation type) pair to make sure we're only dealing with the
policies relevant to the current operation.
Bug: 174216309
Test: atest FullBackupRulesHostSideTest
Change-Id: I627584186a1d1faf3d699e734e45f5e943ec1f84
This is part of the work to support
a credential management app on
unmanaged devices.
Bug: 179180345
Test: atest android.appsecurity.cts.AppOpsTest
Merged-In: Ifd87b5e38f341db4b34bf9f61480e29e49148846
Change-Id: Ifd87b5e38f341db4b34bf9f61480e29e49148846
This is part of the work to support
a credential management app on
unmanaged devices.
Bug: 179180345
Test: atest android.appsecurity.cts.AppOpsTest
Merged-In: Ifd87b5e38f341db4b34bf9f61480e29e49148846
Change-Id: Ifd87b5e38f341db4b34bf9f61480e29e49148846
This reverts commit f81af9df21.
Reason for revert: DroidMonitor: Potential culprit for Bug 180089773 - verifying through Forrest before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.
Change-Id: I80d3f3233e40ade3bfa89b236ba114966a137c23
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_ICON_URI and
EXTRA_PROVISIONING_DEVICE_ADMIN_PACKAGE_LABEL are no longer used
in the provisioning flows.
Bug: 180010560
Test: compiled
Test: tested with ManagedProvisioning in the other CL
Change-Id: I7cba43d6ca80a12d1d3384b17797b77378edfff5
With this change, callers can set overrides for specific versions of an
app. The framework falls back to default version when the given version
doesn't have an override set.
Bug: 174043039
Test: atest FrameworksServicesTests:CompatConfigTest
Test: atest FrameworksServicesTests:PlatformCompatTest
Test: atest PlatformCompatGating
Change-Id: Ib5ff67e752a9c5ee94b6e1dd664d324ab5bf4542