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
Remove database version 1~11 support since the format hasn't changed
in the past 7 years.
Bug: 135956699
Test: Manual
Change-Id: I367124471f16073bb47a31c094d161d36969acc1
In order to support system use-cases, such as when the user wants do
revoke SYSTEM_ALERT_WINDOW (SAW) permission via notification, we are
introducing a new intent, MANAGE_APP_OVERLAY_PERMISSION (notice the
"APP_"), that directs the user to the app-specific screen to toggle SAW
permission.
The intent can only be started if the caller has INTERNAL_SYSTEM_WINDOW
permission, which sysui and the system have. This is verified in CTS.
In this change we also update usage in NotificationGutsManager and
AlertWindowNotification.
Test: Builds
Test: atest TestManageOverlayPermissionIntents
(cts in one of the topic CLs)
Test: Let an app draw on top of other apps, via its notification go to
settings, verify that the screen for controlling such capability
for the app is dispayed.
Bug: 145198756
Bug: 135920175
Change-Id: Iba29e1eaee729268a4dec9561946f6ed74b36619
Move the Copy button to a new row of chips below the
(now larger) preview. Optionally, if a proximity-sharing
service is installed, show that chip as well.
Bug: 143229724
Fixes: 144290152
Test: atest SystemUITests frameworks/base/core/tests/coretests
Change-Id: I0d6457df85bc937f72ca97da6b4b84b634a90daf
We normally have strict rules about where media can be created to
help ensure that the user's content stays organized. (For example,
"image/jpeg" can only be placed inside DCIM/ or Pictures/.)
However, when inserting an SD card from another device, it's pretty
common to find media outside of these well-defined top-level
directories. Apps have been able to read and write pre-existing
content in these locations, but this change now provides a way for
apps to create new media "adjacent" to this pre-existing content,
subject to the following rules:
-- The top level MIME type must be in agreement.
-- The relative path on the device must be in agreement.
When a developer wants to perform an insert() which would normally
be blocked, they can provide a QUERY_ARG_RELATED_URI to allow that
operation to succeed, if it meets the rules above.
Bug: 131643582
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I7d678ee733023f5c5b55b5d18cdcde5a20116312
The existing strategy of methods like setIncludePending() doesn't
scale well for callers to use multiple matching strategies. For
example, callers are interested in these matching strategies:
MATCH_EXCLUDE: Ensure that any matches are excluded.
MATCH_INCLUDE: Ensure that any matches are included.
MATCH_ONLY: Return only exact matches.
The reason why we have this menu of options is because the underlying
fields have different default behavior. For example, "trashed" items
are naturally excluded by default, but "favorite" items are naturally
included by default.
Callers only interesting in listing "trashed" items or "favorite"
items shouldn't need to perform their own inefficient Cursor diffing
logic, so we give them these flexible arguments.
Adjust MediaProvider internals to apply these matcher values to
all update() and delete() calls, in addition to query().
Bug: 143432502
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I0d4bc063b8ea5ac2a602fab43a62c2de7724ba34
It is no longer used anywhere in the framework. (It is sometimes used
by GPP, but that's fine; they don't use this constant.)
Bug: 135751498
Test: Still builds
Test: atest SettingsProviderTest
Change-Id: I52244fa096e70349165d435493cc758acc52ad68
It isn't used anywhere in the framework, except by incidentd - that
usage is also removed.
Any such setting is private to the verifier and not the business of
the framework.
Test: atest SettingsProviderTest
Test: Still builds
Bug: 135751498
Change-Id: Ia6424d8ce811560e4ba72ada003dc08475d5123e
This method accepts multiple flags and overrides the values of all flags
in the provided namespace atomically. If any listeners are registered
for that namespace it will also trigger a callback with all of the flags
that were changed (added, updated, or removed).
Test: atest FrameworksCoreTests:DeviceConfigTest
atest FrameworksCoreTests:SettingsProviderTest
atest SettingsProviderTest:DeviceConfigServiceTest
Bug: 136135417
Change-Id: I2e496a3807493750ba8891dd6390055c919b5f45
The keys are split according to whether they affect the system as a whole,
or simply the inner workings of the window manager.
Also encapsulates WindowManagerConstants properly and adds testing.
Bug: 139735771
Test: atest WindowManagerConstantsTest
Change-Id: I67c96a2bdd3140fe2ff9c6832d2d69f2e57115e2
Required to test ANR
Fixes: 144724475
Test: run cts -m CtsWindowManagerDeviceTestCases -t android.server.wm.AnrTests
Change-Id: I02ef51790a630c9cead7e66eca58d107d77e95db
This setting should be private to GPP, and there should be no reason
for any app to access it. And GPP is migrating away from this
relatively public setting, so it can't be relied upon.
Test: Builds
Bug: 135751498
Bug: 37119785
Change-Id: I839c2d67ae54b4df184ea7ee1c7aebee72c6e794