Commit Graph

20287 Commits

Author SHA1 Message Date
Pavel Maltsev
70f37d3c69 Merge "Make addUnwantedCapability method public" into pi-dev am: 7f5670fdcd
am: 32a5f10b96

Change-Id: I2dc8ce54b94b33fc207546604b381089604243d1
2018-04-02 23:53:36 +00:00
Derek Sollenberger
1aefca09eb Merge "Merge "Restore saveLayer APIs back into the public API." into pi-dev am: ffe1c2a266" into pi-dev-plus-aosp
am: c13bf77769

Change-Id: I1d93eb9fadc99f578e7162a6aae82d6eb612a3b8
2018-04-02 23:19:26 +00:00
Abodunrinwa Toki
dd5bc6f127 Merge "Merge "TextClassifier API updates." into pi-dev am: bf9dfb16be" into pi-dev-plus-aosp
am: 008a5d01af

Change-Id: I4efb43ab74ac98244c6f4145855a75480e2c85b0
2018-04-02 22:20:45 +00:00
Pavel Maltsev
32a5f10b96 Merge "Make addUnwantedCapability method public" into pi-dev
am: 7f5670fdcd

Change-Id: I6d1676b72f125baf5b72e8718bd331a30b3c3c30
2018-04-02 21:47:22 +00:00
Dianne Hackborn
4753f377c2 Merge "Fix issue #77230164: Add app op to control foreground services" into pi-dev am: 21306849e6
am: 1eec82353c

Change-Id: Id62ee94ade97b55eb088a0ff8abf2ce0b994ef68
2018-04-02 20:39:22 +00:00
Derek Sollenberger
7e608f8f9d Merge "Restore saveLayer APIs back into the public API." into pi-dev
am: ffe1c2a266

Change-Id: I4dc9a7272aeeda9ae6be5ce9215cc2a4939286fa
2018-04-02 20:26:38 +00:00
Abodunrinwa Toki
642fcce466 Merge "TextClassifier API updates." into pi-dev
am: bf9dfb16be

Change-Id: I11d37c920abb4aa1fbd5022f30a10fdbe8efe997
2018-04-02 20:03:04 +00:00
Dianne Hackborn
1eec82353c Merge "Fix issue #77230164: Add app op to control foreground services" into pi-dev
am: 21306849e6

Change-Id: Ia999a20e8f0959876f9cb05d121982cc2c1f0890
2018-04-02 19:09:08 +00:00
TreeHugger Robot
7f5670fdcd Merge "Make addUnwantedCapability method public" into pi-dev 2018-04-02 15:07:25 +00:00
TreeHugger Robot
ffe1c2a266 Merge "Restore saveLayer APIs back into the public API." into pi-dev 2018-04-02 14:28:48 +00:00
TreeHugger Robot
bf9dfb16be Merge "TextClassifier API updates." into pi-dev 2018-04-02 09:08:52 +00:00
Dianne Hackborn
21306849e6 Merge "Fix issue #77230164: Add app op to control foreground services" into pi-dev 2018-04-01 22:26:18 +00:00
Abodunrinwa Toki
080c8542b6 TextClassifier API updates.
1. Wraps TC queries in Request objects
2. Adds create/destroyTextClassificationSession system APIs
3. Adds the session Ids to system API calls
4. Change setSignature() to setId() on result objects
5. Plumbing to make the API updates work as things currently work
6. Hide Linkify.addLinksAsync APIs

Bug: 74461129

Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationManagerTest
Test: bit CtsViewTestCases:android.view.textclassifier.cts.TextClassificationManagerTest
Test: bit CtsWidgetTestCases:android.widget.cts.TextViewTest
Test: bit FrameworksCoreTests:android.widget.TextViewActivityTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextClassificationTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextSelectionTest
Test: bit FrameworksCoreTests:android.view.textclassifier.TextLinksTest

Change-Id: I933ada8b37ef9893331a265e3b4fc08e043f1029
2018-04-01 20:04:47 +01:00
Evan Rosky
88836ce65d Merge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev am: e1059d9f5e
am: 1334492e2b

Change-Id: Ic2eb0d1c4ea9d7b7ff4c31ff97523225de128aa3
2018-03-31 18:15:20 +00:00
Evan Rosky
1334492e2b Merge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev
am: e1059d9f5e

Change-Id: I640a4b7be42ed7a358731ef57635a1a27306175f
2018-03-31 17:58:18 +00:00
TreeHugger Robot
e1059d9f5e Merge "Renamed KeyFallbackEvent to UnhandledKeyEvent and exposed dispatch" into pi-dev 2018-03-31 17:39:18 +00:00
Mady Mellor
78c1a8a290 Merge "Add subtype for layout direction to Slice" into pi-dev am: 703f31db63
am: dbbffe3948

Change-Id: I1a2a30b9c026dbfe2b99d875f77cabf72a49d53c
2018-03-31 09:51:14 +00:00
Suprabh Shukla
1f9089af51 Merge "Adding LauncherApps apis for suspended packages" into pi-dev am: a6d6a5aa79
am: 733b8340a4

Change-Id: Id76853b6b65f128f193ce054491c5b0aaa672d05
2018-03-31 06:44:30 +00:00
Jason Monk
dbc61bc03d Merge "Add some methods to manage slice permissios" into pi-dev am: 35201a6af2
am: 69acc65a37

Change-Id: I97df11f64b66684d73b47cc22e95aa5b4a7ede3e
2018-03-31 06:40:18 +00:00
Hall Liu
0682aeb483 Merge "Merge "Make changes to MBMS API following recs" am: feb60e0864 am: 2fa2a9d06f" into pi-dev-plus-aosp
am: 46b959e9d8

Change-Id: Ie102667ddc20ade7a822844377fe2778533d2b3e
2018-03-31 06:15:29 +00:00
Ruchi Kandoi
0bbfb37640 Merge "Make OMAPI stricter" am: 998ef794a3 am: 43056194a5
am: 7c3603a8a9

Change-Id: Ib87ca0c728394bc41a3ffca2b5a671aed871b115
2018-03-31 05:46:00 +00:00
Mady Mellor
dbbffe3948 Merge "Add subtype for layout direction to Slice" into pi-dev
am: 703f31db63

Change-Id: I2a9728249f2fac47593075dbe08d54988df82634
2018-03-31 05:03:39 +00:00
TreeHugger Robot
7bedbabd0b Merge "Make changes to MBMS API following recs" into pi-dev 2018-03-31 04:17:41 +00:00
TreeHugger Robot
703f31db63 Merge "Add subtype for layout direction to Slice" into pi-dev 2018-03-31 04:16:35 +00:00
Chris Craik
84c8c7f656 Merge "Document expected colors, deprecate old ones" into pi-dev am: dbd39fc619
am: 8992dfe3c2

Change-Id: Ifcbc449fa74fdfab9ef1430cc9e911dbe1ac5006
2018-03-31 03:25:48 +00:00
Brad Ebinger
976f907777 Merge "Unhide @SystemApi Constructor" into pi-dev am: 77fcc0da3b
am: cf49f62de5

Change-Id: I704459fc125cfda6b40f6ec96cd40f70d09a6aab
2018-03-31 03:21:05 +00:00
Suprabh Shukla
733b8340a4 Merge "Adding LauncherApps apis for suspended packages" into pi-dev
am: a6d6a5aa79

Change-Id: I2eb805342fc07944042b4668429a1a3f909cec2a
2018-03-31 03:11:13 +00:00
Jason Monk
69acc65a37 Merge "Add some methods to manage slice permissios" into pi-dev
am: 35201a6af2

Change-Id: I83f2d375465479e3f4f8af3790c5d42cf20d1c49
2018-03-31 03:05:38 +00:00
Hall Liu
6705ef997f Merge "Make changes to MBMS API following recs" am: feb60e0864
am: 2fa2a9d06f

Change-Id: I3b1aef24454fa45ffbbf6bb003743e662eac0353
2018-03-31 02:54:39 +00:00
Ruchi Kandoi
7c3603a8a9 Merge "Make OMAPI stricter" am: 998ef794a3
am: 43056194a5

Change-Id: I7d19c85a4068ff2cab66f316689fcc25501133c2
2018-03-31 01:58:59 +00:00
Leon Scroggins III
f648b2e6f2 Remove chaining from ImageDecoder setters am: d9b53a097d
am: fe49dd165e

Change-Id: I1ca209b9bce4c50fdaf5b5a983669f0a305d022b
2018-03-31 01:01:39 +00:00
Brian C. Young
025ab29001 Merge "Enable "Unlocked device required" API" into pi-dev am: 1e0a9b0b1b
am: 58731c1483

Change-Id: Ie0b2d1454b77b1e21d341aca492ec25e3a46252f
2018-03-31 00:58:18 +00:00
Jason Monk
7a8127f121 Merge "Add auto-grant permission slice API" into pi-dev am: 4ced90cb12
am: 650287c699

Change-Id: I1dc8ccfc76c70eb5b019eecd2cd84e7192bd5ff0
2018-03-31 00:53:32 +00:00
TreeHugger Robot
a6d6a5aa79 Merge "Adding LauncherApps apis for suspended packages" into pi-dev 2018-03-31 00:39:52 +00:00
Hall Liu
feb60e0864 Merge "Make changes to MBMS API following recs" 2018-03-31 00:28:06 +00:00
TreeHugger Robot
35201a6af2 Merge "Add some methods to manage slice permissios" into pi-dev 2018-03-31 00:26:06 +00:00
Hall Liu
c21bf59665 Make changes to MBMS API following recs
* Change all error handling logic to return an error code via the async
callback
* Add an UNKNOWN code for errors for future backwards compatibility, and
prohibit the middleware from sending this code.
* Add IntDef for errors through the async callback
* Amend documentation for download()
* Implement support for arranging downloaded files into a hierarchy
following that of the server.

Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74
Fixes: 76449215
Test: CTS
2018-03-30 16:38:14 -07:00
Ruchi Kandoi
f0082409b5 Make OMAPI stricter
- Channel implements java.nio.Channels.Channel.
- openBasicChannel(aid) and openLogicalChannel(aid) is added back.
- Add finalizers for the classes.
- SecureElementListener -> onConnectedListener

Bug: 76448978
Test: CtsOmapiTestCases
Change-Id: I7f92c4dcb5c08a72d32ac9440872ab853badec1d
2018-03-30 23:08:42 +00:00
TreeHugger Robot
dbd39fc619 Merge "Document expected colors, deprecate old ones" into pi-dev 2018-03-30 22:28:25 +00:00
Leon Scroggins III
fe49dd165e Remove chaining from ImageDecoder setters
am: d9b53a097d

Change-Id: Ie8fa1121f804d3e20af03c910ac6001fe0c79bcf
2018-03-30 22:07:10 +00:00
Brian C. Young
58731c1483 Merge "Enable "Unlocked device required" API" into pi-dev
am: 1e0a9b0b1b

Change-Id: I5b7e01621d8c9432af06519993b8d65bbb5c6d7e
2018-03-30 21:54:45 +00:00
Jason Monk
650287c699 Merge "Add auto-grant permission slice API" into pi-dev
am: 4ced90cb12

Change-Id: I1cafb654553e62e8720d6c8b101328d5227dc545
2018-03-30 21:48:11 +00:00
Hall Liu
17449f95dd Make changes to MBMS API following recs
* Change all error handling logic to return an error code via the async
callback
* Add an UNKNOWN code for errors for future backwards compatibility, and
prohibit the middleware from sending this code.
* Add IntDef for errors through the async callback
* Amend documentation for download()
* Implement support for arranging downloaded files into a hierarchy
following that of the server.

Change-Id: I4d5c8f6229b216d9aa84397e628e62279033cc74
Fixes: 76449215
Test: CTS
2018-03-30 14:42:24 -07:00
Brad Ebinger
77fcc0da3b Merge "Unhide @SystemApi Constructor" into pi-dev 2018-03-30 21:36:35 +00:00
Mady Mellor
209af08eca Add subtype for layout direction to Slice
Test: make
Bug: 73123366
Change-Id: I1446dadd8a50e7682d640aa55a7d4a20faf52416
2018-03-30 14:24:13 -07:00
Suprabh Shukla
19b41f34a5 Adding LauncherApps apis for suspended packages
The suspending app can provide a Bundle of information to be used by the
launcher for handling suspended packages. Added APIs:
 - getSuspendedPackageLauncherExtras(String, UserHandle): To retrieve
 the launcher extras for the given package and user.
 - Callback#onPackagesSuspended(String[], UserHandle, Bundle): A
 callback that will be invoked with the package names and the launcher
 extras whenever sent packages are suspended.

Test: atest com.android.server.pm.SuspendPackagesTest

Bug: 76119578
Change-Id: I505d134809639a57c3314f994af34d576d905e74
2018-03-30 21:21:41 +00:00
jiabin
a897e832c8 Merge "Make back mic available when getting all available mic." into pi-dev am: cfe67aa575
am: 3f57ace702

Change-Id: Icb377e9ece76c73e7603a8af790c57a1671bbf8c
2018-03-30 20:50:20 +00:00
Pavel Maltsev
3de42cb3ba Merge "Add OEM_PAID capability to system api" into pi-dev am: 8982a81f3c
am: 0230db03df

Change-Id: I6e9c4130db23a4f1c89ce7e9071ae519a2b0b7ec
2018-03-30 20:35:37 +00:00
Jeff Sharkey
053b11787d Merge "API council requested tweaks to NetworkRequest." into pi-dev am: e6b1a7804d
am: 7121e04797

Change-Id: I539184f7385c1f288cfb77be8307e4463e07e9e6
2018-03-30 20:28:41 +00:00
Benedict Wong
36f2d8a4e1 Merge changes from topic "encap-api" into pi-dev
* changes:
  Require explicitly supplied truncation length
  Clarify UDP encapsulation socket API
2018-03-30 20:28:19 +00:00