Commit Graph

28875 Commits

Author SHA1 Message Date
David Su
8014f025e5 Merge "Remove WifiManager.isDualModeSupported()" 2020-01-30 17:42:41 +00:00
Tom Taylor
8ed7418efc Merge "Add optional messageId methods for sending/receiving mms's" 2020-01-30 17:20:08 +00:00
Jaewan Kim
3fbf3d600d Merge "MediaSessionManager: Apply API review" 2020-01-30 00:35:09 +00:00
David Su
5d1f1d4150 Remove WifiManager.isDualModeSupported()
Remove isDualModeSupported, replace callers
with isStaApConcurrencySupported.

Bug: 144925765
Test: atest FrameworksWifiApiTests
Test: boots up and connects to Wifi
Change-Id: I2ed7c483599a1f919cf8a14c22659cf957b67cad
2020-01-29 14:58:45 -08:00
Mehdi Alizadeh
505fb76065 Adds CACHED shortcuts and methods to retrieve and remove
Adds a new flag to ShortcutInfo to mark it as cached. Also adds new
APIs in ShortcutManager to remove or retrieve a cached shortcut.

Bug: 148084870
Test: atest com.android.server.pm.ShortcutManagerTest1 \
            com.android.server.pm.ShortcutManagerTest2 \
            com.android.server.pm.ShortcutManagerTest3 \
            com.android.server.pm.ShortcutManagerTest4 \
            com.android.server.pm.ShortcutManagerTest5 \
            com.android.server.pm.ShortcutManagerTest6 \
            com.android.server.pm.ShortcutManagerTest7 \
            com.android.server.pm.ShortcutManagerTest8 \
            com.android.server.pm.ShortcutManagerTest9 \
            com.android.server.pm.ShortcutManagerTest10
Change-Id: I859b416ccd4228eec10a436550ff98866a62af66
2020-01-29 22:06:40 +00:00
Rambo Wang
879bc4ae15 Merge "Clear up permission READ_PRIVILEGED_PHONE_STATE." 2020-01-29 22:06:11 +00:00
Sudheer Shanka
5257270180 Merge "Make Context.BLOB_STORE_SERVICE public." 2020-01-29 21:12:55 +00:00
Sergey Volnov
e453dcef3b Merge "Got rid of cancellation signals in the Content Capture Data Sharing" 2020-01-29 20:24:48 +00:00
TreeHugger Robot
a190c897e9 Merge "Added area info support in cell broadcast service" 2020-01-29 19:29:53 +00:00
Philip Quinn
2116f0e58b Merge "Move ViewConfiguration#AMBIGUOUS_GESTURE_MULTIPLIER to config.xml." 2020-01-29 19:24:53 +00:00
Sudheer Shanka
f56f7589bf Make Context.BLOB_STORE_SERVICE public.
Bug: 143559646
Test: atest cts/tests/BlobStore/src/com/android/cts/blob/BlobStoreManagerTest.java
Change-Id: I2ae498803614761f1eab0927ab9e3c77dd65e1a1
2020-01-29 10:52:32 -08:00
Leon Scroggins
e98ae477cc Merge "Deprecate Path#isConvex" 2020-01-29 18:10:14 +00:00
Nathan Harold
f394f37854 Merge "Return the RPLMN from NetworkRegistrationInfo" 2020-01-29 17:59:06 +00:00
Sally Yuen
96b878aada Merge "Implement multi-finger multi-tap gesture matchers for accessibility" 2020-01-29 17:41:28 +00:00
Sergey Volnov
439294404f Got rid of cancellation signals in the Content Capture Data Sharing
Motivation: if the Content Capture service want's to end the session, it
can close the read-fd, while not have finished reading, and that would
result in an exception in the system server, that can later be
propagated to the caller as an error.

Similarly, timeout of the sharing session can be reflected as an error
with a specific error code.

Test: built Android locally and perfomed a manual test.
Bug: 145203958
Change-Id: Iaeb45e0ab68da9fe30dce1ae4eab2354ef56d827
2020-01-29 15:31:00 +00:00
Automerger Merge Worker
36a7559516 Merge "Tidy up module-lib API and locks" am: 98ab83c37d am: 779b5c6ee0 am: 1fc568f878
Change-Id: I4c7039b54aa185447108622b0608689ddf45bc2f
2020-01-29 14:33:36 +00:00
Neil Fuller
779b5c6ee0 Merge "Tidy up module-lib API and locks"
am: 98ab83c37d

Change-Id: I0c136617cef0d23e905757a0b6baf2b7e823212d
2020-01-29 06:19:05 -08:00
Neil Fuller
98ab83c37d Merge "Tidy up module-lib API and locks" 2020-01-29 14:10:18 +00:00
Automerger Merge Worker
3daccde526 Merge "Extract TimeDetector/TimeZoneDetector interfaces" am: 17ac92f460 am: a9e81b53a9 am: f751b9ec06
Change-Id: Ic029c262cc34f8c0232cda3558a57f2fcaceb797
2020-01-29 10:38:45 +00:00
Neil Fuller
a9e81b53a9 Merge "Extract TimeDetector/TimeZoneDetector interfaces"
am: 17ac92f460

Change-Id: I7e35f2eedbe57a8e77af8af70587a87dfa61bd26
2020-01-29 02:09:11 -08:00
Neil Fuller
17ac92f460 Merge "Extract TimeDetector/TimeZoneDetector interfaces" 2020-01-29 09:57:55 +00:00
Ryan Mitchell
1e80cd76ed Merge changes from topic "res-loader"
* changes:
  Refactor ResourcesLoader Tests
  Refactor ResourcesLoader APIs
2020-01-29 06:57:47 +00:00
Kyunglyul Hyun
b37b54cca9 Merge "MediaRouter: Address API review issues" 2020-01-29 06:34:33 +00:00
Jack Yu
afaa71d418 Added area info support in cell broadcast service
Added a broadcast for area info changed event, and
also a get method in cell broadcast service to
retrieve the area info.

Test: Cell broadcast sanity tests
Bug: 141318859

Change-Id: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
2020-01-28 21:05:25 -08:00
Jack Yu
728f207b23 Merge "Added data coding scheme and location check time support" 2020-01-29 04:03:57 +00:00
TreeHugger Robot
e0206059a1 Merge "Revert "Partial Revert of ag/10161061"" 2020-01-29 02:32:59 +00:00
Kyunglyul Hyun
2b4e926196 MediaRouter: Address API review issues
This CL adds javadoc to explain new APIs in detail and remove
an unnecessary method: MediaRoute2Info#hasAnyFeatures

Bug: 148379928
Test: atest mediaroutertest (w/ mediarouteprovider installed)
Change-Id: I6be0d66044c591525468153ad0122f082d7582aa
2020-01-29 11:32:49 +09:00
Roshan Pius
28b79072a9 Revert "Partial Revert of ag/10161061"
This reverts commit 81d7cece57.

Reason for revert: The telephony unit tests are fixed.
Bug: 148282682

Change-Id: Ib835f0abf4faf33ea3a54420c84c1f8383d663c3
2020-01-29 00:51:25 +00:00
Jack Yu
641db9a36a Added data coding scheme and location check time support
AT&T requires showing data coding scheme, location check
time, whether shown to the user or not in the test menu.
Expanded database to support this.

Bug: 144152683
Test: Manully sending fake messages and verified database
Change-Id: Ib5b78802e7548da9f92492aae4c94ed3488b5e3d
2020-01-28 16:46:30 -08:00
Xiao Ma
15e9305761 Merge "Make Information Elements (IE) of a scan result available as a public API."
am: 34a5bbda41

Change-Id: Ia0680401d2c670eb795027ebc3256ec314f41c45
2020-01-28 16:21:45 -08:00
Xiao Ma
34a5bbda41 Merge "Make Information Elements (IE) of a scan result available as a public API." 2020-01-29 00:12:20 +00:00
Ryan Mitchell
4579c0aea2 Refactor ResourcesLoader APIs
This changes refactors the ResourcesLoader APIs.
The main changes are:

Rather than pairing a ResourcesLoader with a ResourcesProvider, a
ResourcesProvider is paired with an AssetsProvider which is only
responsible for overriding the values of file-base resources and
assets. An AssetsProvider can be shared between multiple
ResourcesProviders.

ResourcesLoader now holds a list of ResourcesProviders.

ResourcesLoaders are part of ResourcesKeys and requests for resources
with the same loaders will use the same underlying ResourcesImpl. This
allows the loader specific code in RM to be cleaned up.

ResourcesLoaders and Resources objects use callbacks to notify RM
of changes to the Resources instance that may require a new
ResourcesImpl.

When a context is created from another context, the new context will
include the loaders of the original context. Change to list of either
context's loaders will not change the loaders of the other context,
but changes to the providers a loaders uses will update all Resources
objects that use that loader.

Activity resources will include the loaders of the application context
at the time of the Activity's creation.

Bug: 147359613
Test: atest ResourceLoaderTests
Change-Id: I2957c803d3f0c1280abfd3c723d76b18df2c3789
2020-01-28 15:35:14 -08:00
Nathan Harold
2b14af22da Return the RPLMN from NetworkRegistrationInfo
Add an API to get the RPLMN in network registration info.

This PLMN-ID is the one chosen from the PLMN IDs broadcast
by the cell for registration purposes.

Bug: 135921133
Test: make update-api && make offline-sdk-docs && make
      && atest FrameworksTelephonyTests
Change-Id: I82f9150e185d9809572d246b57ea42f14ad64f15
2020-01-28 14:58:52 -08:00
yingleiw
4a72a74b2a modify quick settings to adopt the accessibility state api
Seperated out the state part from contentDescription. Also changed the
tile on/off states from mocking switch to unavailable/on/off state
description based on State.state. During testing, I removed event
merging (including source node merging) for state and content change
events. Use event text for state description changed part will be in a
seperate CL.

Test: tested on the quick settings tiles for focusing and state change
evnets. With the event merging removed, the state change is announced
when the focus keeps on the tile. Before my change, content change is
not announced when the focus keeps on the tile due to source node change
in event merging.

Fix: 148473520

Change-Id: I5b6aee6f0982cf4e0a3962fbe15239314f3a2de4
2020-01-28 13:31:13 -08:00
Dieter Hsu
3cbd098e7a Implement multi-finger multi-tap gesture matchers for accessibility
This matcher would detect following gestures when accessibility flag
flagRequestMultiFingerGestures enabled:

- 2-finger single tap
- 2-finger double tap
- 2-finger triple tap
- 3-finger single tap
- 3-finger double tap
- 3-finger triple tap

Bug: 142277684
Bug: 142276516
Bug: 136131815
Test: atest AccessibilityGestureDetectorTest TouchExplorerTest GestureManifoldTest

Change-Id: I0aa6e858520d0b36c81df6fe08fd86d7d0803d5a
2020-01-28 13:24:12 -08:00
Tom Taylor
03079ec3e1 Add optional messageId methods for sending/receiving mms's
Bug: 148235962

Test: manually tested the new MMS apis using the Messages app
Change-Id: I578a9875ba9b0d73c03a61c5878c396d76f8aa52
2020-01-28 11:01:50 -08:00
TreeHugger Robot
e428a2cc04 Merge "Deprecate Canvas.EdgeType" 2020-01-28 18:13:01 +00:00
Sarah Chin
effc79cd29 Merge changes from topics "phone_cap", "tdscdma"
am: b739deddc6

Change-Id: Ie31648ef065783dcf02e0a1c36e16b54d1c17c17
2020-01-28 09:35:10 -08:00
Jack Yu
414d5806a0 Added TD-SCDMA bands for network scanning
am: 51598fab09

Change-Id: I87915b0a397b1c2ba201ce2e7589c220a5966492
2020-01-28 09:34:36 -08:00
Sarah Chin
b739deddc6 Merge changes from topics "phone_cap", "tdscdma"
* changes:
  Modify PhoneCapabilities for device capabilities
  Added TD-SCDMA bands for network scanning
2020-01-28 17:26:11 +00:00
Jordan Liu
950f73800c Merge "Fix ordered background broadcast API"
am: dd6d0b26af

Change-Id: I45a57ea9d6b7981a6f2a93aab84f204f21b18582
2020-01-28 09:09:15 -08:00
Jordan Liu
dd6d0b26af Merge "Fix ordered background broadcast API" 2020-01-28 16:33:18 +00:00
Neil Fuller
6a0664d702 Tidy up module-lib API and locks
Fixing various nits.

Test: treehugger
Change-Id: I636d1b9ef084be58ea07caa0a04ba70de18a030b
2020-01-28 15:24:15 +00:00
Neil Fuller
ad6eb2b2d5 Extract TimeDetector/TimeZoneDetector interfaces
Extract TimeDetector/TimeZoneDetectors interfaces due to API council
feedback.

Bug: 148402378
Test: treehugger
Change-Id: I22b12c8c5cc1cca9e3a788ef76c38b77198a3bce
2020-01-28 12:18:46 +00:00
TreeHugger Robot
f335551b69 Merge "Add haptic composition API." 2020-01-28 12:17:28 +00:00
Automerger Merge Worker
6100cdb620 Merge "Add @RequiresPermission annotation to reboot APIs" am: 147863d9fc am: dab92d5611 am: f613e166f2
Change-Id: I4c9e098636584896625e31fb2ee5099aaef12278
2020-01-28 11:18:55 +00:00
Nikita Ioffe
dab92d5611 Merge "Add @RequiresPermission annotation to reboot APIs"
am: 147863d9fc

Change-Id: I5ca246de4d4f8912271d222c3e82e96d3d47fa6d
2020-01-28 02:57:56 -08:00
Lorenzo Colitti
b6081962ee Merge changes I34842acd,Icc6c4d6b
am: fb3dccd961

Change-Id: I38f5452905216ebf9e0b28311d34ad0667243274
2020-01-28 02:53:38 -08:00
Nikita Ioffe
147863d9fc Merge "Add @RequiresPermission annotation to reboot APIs" 2020-01-28 10:45:34 +00:00
Remi NGUYEN VAN
f2f3f3e345 Add support for Ethernet tethering
Ethernet tethering can be started via
startTethering(TETHERING_ETHERNET).

Test: flashed, enabled ethernet tethering, verified internet access on
      downstream.
Bug: 130840861

Merged-In: I34842acd94b972e440c3622f7617df10c18acf65
Change-Id: I34842acd94b972e440c3622f7617df10c18acf65
(cherry-pick with conflicts in test-current.txt)
2020-01-28 17:52:06 +09:00