An upcoming change will move MediaStore to be within the recently
created MediaProvider APEX. This means that MediaStore will need to
be fully built against @SystemApi, and so this CL adjusts APIs to
support a clean transition:
-- Listing of "recent" storage volumes and scan paths for "internal"
storage is now handled by StorageManager directly, so that partners
retain control over what is deemed recent.
-- StorageVolume now returns the MediaStore volume name and the
filesystem directory where its contents are presented to apps.
-- Conversion of legacy thumbnail "kind" values to dimensions now
happens directly inside MediaStore.
-- PendingParams and PendingSession are completely removed.
-- Contributed media APIs are completely removed.
-- Media for demo users is now surfaced as a unique StorageVolume.
-- Migrate most MediaStore APIs to accept ContentResolver, which
supports easy usage of ContentResolver.wrap().
Bug: 144247087, 137890034
Test: atest --test-mapping packages/providers/MediaProvider
Exempt-From-Owner-Approval: in-place refactoring
Change-Id: I445528b2779bb37b9f2558e67a3cfc9f60412092
Added support for window magnification as an accessibility feature. The
UI can either be dragged to a new a location or arrow controls can move
the window around.
Test: adb shell settings put secure window_magnification 1
Bug: 136250281
Change-Id: If3098df098f2a1b88b2170e773dccc8f86946abf
* changes:
Enforce that registered authenticators are not null
Ensure that cancelling authentication ends up in the correct state
Enforce authenticator registration
Enforce that only public authenticator combinations are accepted
Add phenotype namespace and flag for biometrics
Use @Authenticators.Types for authenticator selection
Add setAllowedAuthenticators(int) to BiometricPrompt
The new storage model being built in Android Q and R means that most
apps will now be limited to read access to most media items on the
device. This change adds a way for developers to request a user to
grant narrow access to specific media items.
This supports operations like requesting write access, trash/untrash,
favorite/unfavorite, and outright delete. Once the user confirms the
action in the dialog, the action is carried out with no further
action needed by the caller.
We transport the set of Uris through a ClipData to pave the way for
shifting to ParceledListSlice in a future release.
Since there's many permutations of strings needed, generate them
with a simple Python script to ensure they stay consistent.
Bug: 141911164
Test: atest --test-mapping packages/apps/MediaProvider
Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.ExternalStorageHostTest#testMediaEscalation
Change-Id: I2eb3775550ed27c2863af1edc362471e4cb48643
Remove database version 1~11 support since the format hasn't changed
in the past 7 years.
Bug: 135956699
Test: Manual
Merged-In: I367124471f16073bb47a31c094d161d36969acc1
Change-Id: I367124471f16073bb47a31c094d161d36969acc1
(cherry picked from commit 21effc8643)
This is needed to move the jobscheduler classes to its own jar for
mainline.
Bug: 137763703
Test: Doc change only, presubmit
Merged-in: I117ffc23362a61923a9f93c1532ab582e2421402
(cherry-pick from I117ffc23362a61923a9f93c1532ab582e2421402)
Change-Id: I1b3fba3e90f4b3c943f44b63eeb776f5da973591
This allows the ability to enforce biometric modality strength (downgrade only) on certain devices.
Bug: 141025588
Test: atest com.android.server.biometrics
Test: make system-api-stubs-docs-update-current-api
Test: make test-api-stubs-docs-update-current-api
Test: manual testing using "adb shell device_config put NAMESPACE KEY VALUE"
Change-Id: Ib167a038d717216ec0a54d6f4f6f5f88a70e1a6e
this change waits to apply ui changes after screen off
battery manager sends updates and continuously updates the ui mode
this change also applies external changes to ui configurations when
the mode is actually changed. this resolves some perfromance regression
issues
Fixes: 145694649
Fixes: 145161355
Fixes: 145776479
Test: atest UiModeManagerService
Change-Id: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
Merged-In: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
The voice and data is the same for operator name at ServiceState.
So ServiceState merges voice and data into a single value.
- merge the voice and data OperatorAlphaLong,OperatorAlphaShort, and
OperatorNumeric.
Bug: 144663018
Test: Build pass.
atest NetworkControllerDataTest (PASS)
atest ServiceStateTest (PASS)
atest TelephonyMetricsTest (PASS)
atest ServiceStateProviderTest (PASS)
Change-Id: I67e4a822c792bf9a9e174146ef8d65d9927d7612
Merged-In: I67e4a822c792bf9a9e174146ef8d65d9927d7612
Add definition of the change ID for the APN permissions change for
platform compat.
Bug: 144631034
Test: compiles
Change-Id: I449c08c2b696030130a29b082e7e5a04bf69ec4a
this change waits to apply ui changes after screen off
battery manager sends updates and continuously updates the ui mode
this change also applies external changes to ui configurations when
the mode is actually changed. this resolves some perfromance regression
issues
Fixes: 145694649
Fixes: 145161355
Fixes: 145776479
Test: atest UiModeManagerService
Change-Id: Ib769df4302d1c09166e2dc456b8ced35daa4d0b7
Add a new (set of) settings that ActivityManagerService checks
before adding the report to DropBox.
Change-Id: Ia55e011aecd2376ebb7794cd1c9d94dd628ddfab
Test: Tested with "adb shell settings put max_error_bytes_for_system_server_anr 256"