Commit Graph

22199 Commits

Author SHA1 Message Date
Adam He
dc0d7b0ccc Merge "Merge app-specific and generic user data for field classification." 2019-01-03 17:15:57 +00:00
Hai Shalom
a088295e7f Merge "[DPP] Add DPP key management capability API" 2019-01-03 17:05:44 +00:00
Hai Shalom
4dab74f563 Merge "[DPP] Added new DPP Initiator APIs and callbacks" 2019-01-03 17:05:28 +00:00
Jean-Michel Trivi
9958c94e4d Merge "Dynamic audio policies: multi-zone through uid/device affinity" 2019-01-03 16:16:50 +00:00
Wale Ogunwale
a7b3c1a7b2 Merge "Add support for singleTaskInstance displays" 2019-01-03 16:00:22 +00:00
TreeHugger Robot
0995402a41 Merge "Refactoring canSuspendPackage to support batch queries" 2019-01-03 02:12:57 +00:00
Wale Ogunwale
9e737db3c9 Add support for singleTaskInstance displays
singleTaskInstance displays will only contain on task. This is mostly
used by ActivityView for use cases like bubbles.

Bug: 121047677
Test: atest ActivityManagerMultiDisplayTests#testSingleTaskInstanceDisplay
Change-Id: I5166015d8ecfa2845b4ffaa6c16d21a30a56b8a8
2019-01-02 14:27:05 -08:00
Adam He
1cb6f80670 Merge app-specific and generic user data for field classification.
Bug: 118617202
Test: atest CtsAutoFillServiceTestCases
Test: atest android.autofillservice.cts.FieldsClassificationTest android.autofillservice.cts.UserDataTest

Change-Id: Ibb958e0ca790d798c7c62bce5f7dbc108041fe07
2019-01-02 13:22:18 -08:00
Jean-Michel Trivi
d6f65dea01 Dynamic audio policies: multi-zone through uid/device affinity
Augment dynamic audio policies with audio device affinity for
 apps (a.k.a multi-zone handling), to enable associating apps
 with a set of audio devices (which may form a "zone" in cars).

Bug: 111647296
Test: requires device with routing policy started by CarService
Change-Id: I2994ae80624556d9321f788a0575d9f732157228
2019-01-02 12:38:12 -08:00
Hyundo Moon
c61fc6897c Merge "Introduce SessionCallbackLink" 2019-01-02 11:03:50 +00:00
Hyundo Moon
8eee83e594 Introduce SessionCallbackLink
In order to avoid direct AIDL usages in framework, this CL introduces a
new class SessionCallbackLink which can prevent usages of
ISessionCallback.

Also, this CL renames ControllerCallbackLink.asBinder() to
ControllerCallbackLink.getBinder().

Bug: 121239657
Test: make update-api -j / make -j
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest
Change-Id: Icbcc4b045b1f6933c63d0d87aedc23b28c03d2de
2019-01-02 15:40:16 +09:00
Richard Uhler
474dffd225 Merge "Add RollbackManagerService" 2018-12-31 18:43:21 +00:00
Richard Uhler
b29f145505 Add RollbackManagerService
This change adds RollbackManagerService as a new system service for
managing apk level rollbacks.

To work properly this requires additional selinux policy changes. Fails
gracefully in case of selinux denials, until we have a chance to sort
out the proper selinux policy.

Bug: 112431924
Bug: 116512606
Test: atest RollbackTest, with selinux enforcement off.
Test: atest CtsPermission2TestCases:PermissionPolicyTest
Change-Id: Id72aae9c4d8da9aaab3922ec9233ba335bc0198f
2018-12-31 12:38:07 +00:00
TreeHugger Robot
1ebc3f0d7e Merge "Introduce ControllerCallbackLink" 2018-12-31 07:43:55 +00:00
Hyundo Moon
e521669b5d Introduce ControllerCallbackLink
In order to avoid direct AIDL usages in framework, this CL introduces a
new class ControllerCallbackLink which can prevent usages of
ISessionControllerCallback.

Bug: 122169124
Test: make update-api -j / make -j
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest
Change-Id: I860ea56afc046dd91e065ef207d374c0aa490c8f
2018-12-31 15:05:15 +09:00
TreeHugger Robot
6118bf44cc Merge "Change the value of AudioManager#FLAG_FROM_KEY" 2018-12-31 03:50:26 +00:00
shilu
ccd86941b4 Propagate some SIP INVITE header fields on a MT call
These fields can be used for Spoof call detection in the Dialer

Bug: 115537553
Test: compile and test on device
Change-Id: Ib92043536e0fc43e40efc53189a28c4e58064ddc
2018-12-28 22:39:26 +00:00
Hai Shalom
1931846f2f [DPP] Add DPP key management capability API
Add DPP key management capability API.

Bug: 112197021
Test: atest SupplicantStaIfaceHalTest
Change-Id: If19536a3c105a99477588ed4b19cf92d98914dfd
2018-12-27 15:40:05 -08:00
Victor Hsieh
3969585ed4 Merge "Update api/current.txt for setuid deprecation" am: 4ec239d760 am: fa99781eb0
am: d115d0ec59

Change-Id: I955b5b5b30ba4f0cad72efe34c10c8991f082c79
2018-12-27 12:35:45 -08:00
Victor Hsieh
d115d0ec59 Merge "Update api/current.txt for setuid deprecation" am: 4ec239d760
am: fa99781eb0

Change-Id: Id33ba38665fc21a943ae8bd682e9917ffb329ce8
2018-12-27 12:22:28 -08:00
Treehugger Robot
4ec239d760 Merge "Update api/current.txt for setuid deprecation" 2018-12-27 19:44:28 +00:00
Hai Shalom
e1afc8d787 [DPP] Added new DPP Initiator APIs and callbacks
Added new DPP Initiator APIs and callbacks:
startDppAsConfiguratorInitiator
startDppAsEnrolleeInitiator
stopDppSession
The Initiator APIs are asynchronous and provide events and status codes
through callbacks.

Bug: 112197021
Test: atest DppManagerTest
Change-Id: Ib2226a5e6d94b1d6247f958513c858cf38686ce8
2018-12-27 10:33:10 -08:00
Jelle Fresen
ba281ccf76 Merge "Add add/remove for AnimationListener's" 2018-12-27 07:52:37 +00:00
Hyundo Moon
ca0080d919 Change the value of AudioManager#FLAG_FROM_KEY
As suggested by API review, this CL changes the value of FLAG_FROM_KEY
from 1 << 12 to 1 << 16. Also expands Javadoc of the flag as suggested.

Bug: 121325822
Test: make update-api -j / make -j
Change-Id: Ie40c609c717c68a97b01d88f68ce8ff465e3a89e
2018-12-27 13:47:52 +09:00
Jordan Liu
c9b8ad0c41 Merge "Add UiccCardInfo APIs" am: 8acece0441 am: a1ce4f0ec9
am: da2cdd3596

Change-Id: I831e44185649620ad9b48c2db7b103218638912a
2018-12-26 08:48:52 -08:00
Jordan Liu
da2cdd3596 Merge "Add UiccCardInfo APIs" am: 8acece0441
am: a1ce4f0ec9

Change-Id: I24b89cb46f6d9d8e4e0f9f24cde49090615ed007
2018-12-26 08:35:35 -08:00
Jordan Liu
8acece0441 Merge "Add UiccCardInfo APIs" 2018-12-26 16:16:02 +00:00
Les Lee
f0984392e7 Revert "Deprecate WpsInfo"
This reverts commit 7bccf2f997.

Reason for revert:
It is necessary for P2p connection.
Application need to update WpsInfo in WifiP2pConfig when trigger p2p connection
API:
public void connect(Channel c, WifiP2pConfig config, ActionListener listener) {

Bug: 80105789
Test: compile, run ./frameworks/base/wifi/tests/runtests.sh
Change-Id: I0c881627eaee7a7313db6b9805dd6cdb03547df0
2018-12-24 02:24:21 +00:00
Andrii Kulian
60e88ecdca Merge "Add API to check if activity can be started on a display" 2018-12-23 20:43:03 +00:00
TreeHugger Robot
da398f05af Merge "New APIs for ContentCaptureService: onConnected() and onDisconnected()" 2018-12-22 10:55:19 +00:00
Felipe Leme
bb98ed6521 New APIs for ContentCaptureService: onConnected() and onDisconnected()
Bug: 117944706
Test: atest CtsContentCaptureServiceTestCases:android.contentcaptureservice.cts.BlankActivityTest#testDisconnected
Test: atest CtsContentCaptureServiceTestCases

Change-Id: Iba3c1ae774221946a550fad95539d3a9771ae3d7
2018-12-21 15:11:49 -08:00
Jordan Liu
5151b7df4e Merge "SubscriptionInfo contains int cardId" am: 97c9aba888
am: 212e2576e1

Change-Id: I5bee233bf3603a11f7da8b04a51919da838cb130
2018-12-21 14:19:19 -08:00
Pengquan Meng
8bcdc4cf66 Add NR to preferred network type combination
This add NR 5G to preferred network type and move preferredNetworkMode
from SystemApi to hidden api as we are not going to support
preferredNetworMode enum in the future.

Bug: 111453000
Test: build
Change-Id: I08a8f7bf44a62ef109583b82b22f65fd6f89c71d
2018-12-21 13:55:31 -08:00
Jordan Liu
97c9aba888 Merge "SubscriptionInfo contains int cardId" 2018-12-21 21:55:07 +00:00
Dario Freni
ce3083dcb4 Merge "Send a broadcast for staged session state changes." 2018-12-21 16:17:41 +00:00
Paul Hu
b059128f73 Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 41a0a5dd75 am: 668112800b
am: 9b3671b1d4

Change-Id: I65cd4c326a1fe64c09b131f1b1924f12e522a664
2018-12-21 07:57:58 -08:00
Paul Hu
9b3671b1d4 Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" am: 41a0a5dd75
am: 668112800b

Change-Id: Ic641472bab2e5aa7b443caaac13deae260c3902d
2018-12-21 07:48:38 -08:00
Paul Hu
41a0a5dd75 Merge "Unhide LinkProperties, NetworkCapabilities, NetworkRequest APIs" 2018-12-21 15:21:03 +00:00
Jelle Fresen
65d2171d00 Add add/remove for AnimationListener's
FragmentManagerImpl in AndroidX currently uses reflection to read
mListener, so it can wrap it with another listener. Adding add/remove
methods for AnimationListener's next to setAnimationListener removes the
need for AndroidX to touch mListener, which is private API.

Bug: 117519981
Test: atest AnimationTest
Change-Id: I69cb19d61078215ca6697b3d41f4c536decc2e6e
2018-12-21 15:18:09 +00:00
Jorim Jaggi
99dc47483c Merge "A brave new world for window insets (5/n)" 2018-12-21 14:00:45 +00:00
Jorim Jaggi
5bb571dc40 A brave new world for window insets (5/n)
Implement controlWindowInsetsAnimation

Based on the leashes we have on the client, and the insets the
client has requested, we are able to move the surfaces around
such that the resulting insets will match what the client
requested.

Bug: 118118435
Change-Id: I0616e53455a6544aaf374c1b0eb10e258aced21d
2018-12-21 13:05:30 +01:00
Junyu Lai
698e26bfc7 Merge "Deprecate NetworkInfo" am: a244ccd86d am: df8ed1524d
am: f3176ea037

Change-Id: Iefce7f71ac10d0b9c96ce7d6af345e96880cfa1c
2018-12-21 02:28:11 -08:00
Junyu Lai
f3176ea037 Merge "Deprecate NetworkInfo" am: a244ccd86d
am: df8ed1524d

Change-Id: Ia646a8754bcd5ef62573e3b1730df3987bf9fd15
2018-12-21 02:16:39 -08:00
Junyu Lai
a244ccd86d Merge "Deprecate NetworkInfo" 2018-12-21 09:56:39 +00:00
TreeHugger Robot
7a01a91477 Merge "Bluesky Android Q Platform Changes" 2018-12-21 06:34:19 +00:00
Chen Xu
8229f4c5f8 Merge "new SystemAPI for preciseCallState and DisconnectCause" am: 6eacd30e8f
am: f034647231

Change-Id: I2320bd6f4b85ef55a2fe3b7c865ffde67d71d415
2018-12-20 20:19:15 -08:00
Chen Xu
6eacd30e8f Merge "new SystemAPI for preciseCallState and DisconnectCause" 2018-12-21 03:52:16 +00:00
Calvin Pan
5f5461ad1a Merge "Public SIM_APN_URI uri and deprecated mcc, mnc, mvno_type, mvno_data" am: d839b0d384 am: faf8c714b7
am: b000ae8707

Change-Id: I0fe486b37521df918120cca1233d299ec68ce84b
2018-12-20 18:33:19 -08:00
Eric Laurent
0a9b04a6fa Merge "Add AudioRecordingConfiguration changed callback" 2018-12-21 02:25:45 +00:00
Calvin Pan
b000ae8707 Merge "Public SIM_APN_URI uri and deprecated mcc, mnc, mvno_type, mvno_data" am: d839b0d384
am: faf8c714b7

Change-Id: I8e043242130824f6702b765cae8596c0b431d06d
2018-12-20 18:21:00 -08:00