Commit Graph

100868 Commits

Author SHA1 Message Date
TreeHugger Robot
747d9d5cf9 Merge "TelephonyManager: do not acceess hidden API" 2020-01-28 03:48:01 +00:00
Meng Wang
489e391d8f TelephonyManager: do not acceess hidden API
... PhoneStateListener.mSubId; move the logic to
TelephonyRegistryManager.

Bug: 140908357
Test: make
Change-Id: I2594cdfe178b02aeab9f88dc16586418eca985ff
2020-01-27 18:10:24 -08:00
TreeHugger Robot
86c1458a70 Merge "API for Inline Presentation Renderer in ExtServices." 2020-01-28 01:59:58 +00:00
Peter Wang
f3ad937082 Merge "[Telephony Mainline] Make ServiceRegisterer static" 2020-01-28 00:02:14 +00:00
TreeHugger Robot
d48208f242 Merge "Revert to false for BLAST flag until boot time issue resolved" 2020-01-27 23:46:19 +00:00
Mady Mellor
d5a6dc3193 Merge "Bubble API: add support for URI based icons" 2020-01-27 22:52:03 +00:00
Valerie Hau
825fccbe63 Revert to false for BLAST flag until boot time issue resolved
Bug: 148229181
Test: build, boot
Change-Id: Ia9ffd14c396ca3e0d84b9aaa21ba700ee88dd983
2020-01-27 14:06:56 -08:00
Automerger Merge Worker
d89a779fb1 Merge "Preparing to finalize @SystemApi" am: 9f85cd1bdb am: 934364211c am: 4ee0d79fb0
Change-Id: I5a51f19e1a309e908e9f1ce467ff2a43e21bf11c
2020-01-27 21:55:34 +00:00
Automerger Merge Worker
4ee0d79fb0 Merge "Preparing to finalize @SystemApi" am: 9f85cd1bdb am: 934364211c
Change-Id: Ib00bb31922eafb76d053852dbd5842235d4d03de
2020-01-27 21:43:47 +00:00
Jordan Liu
78db915885 Merge "Fix ordered background broadcast API" 2020-01-27 21:36:36 +00:00
Makoto Onuki
934364211c Merge "Preparing to finalize @SystemApi"
am: 9f85cd1bdb

Change-Id: If7fa9a90b3ca60ee75d767e9196804f692bb802a
2020-01-27 13:33:56 -08:00
Treehugger Robot
9f85cd1bdb Merge "Preparing to finalize @SystemApi" 2020-01-27 21:20:40 +00:00
Mady Mellor
eb049d0b47 Bubble API: add support for URI based icons
I would ultimately like to restrict icons to be TYPE_URI_ADAPTIVE_BITMAP,
however, that would break existing app behaviour. Let's log a warning
and hope that we can change it to be one of the URI based icons in the
future.

Test: atest NotificationManagerTest
Bug: 138943209
Bug: 144352570
Change-Id: I044f035571fcaa817b19d8ff330fb22b4addf970
2020-01-27 13:20:00 -08:00
Jovana Knezevic
873cc29e53 Merge "Switching to pre-created users should not be supported." 2020-01-27 20:59:22 +00:00
Automerger Merge Worker
251a110c45 DO NOT MERGE: Adds artificial package handler latency am: de626c28d7 am: 895d932835
Change-Id: Icbf1e5c7475260bee1c147f92aa328dd29f4fb17
2020-01-27 20:22:29 +00:00
Automerger Merge Worker
895d932835 DO NOT MERGE: Adds artificial package handler latency am: de626c28d7
Change-Id: I5303926e34c973ca9e4a7d12d0f4cd46e2fbcde8
2020-01-27 20:14:59 +00:00
Adam He
0430237873 API for Inline Presentation Renderer in ExtServices.
Bug: 146453086
Test: manual verification
Change-Id: I0c68730ce84bfa9df78e1a1b838bd68764668ef2
2020-01-27 11:25:25 -08:00
Anton Hansson
db59208477 Merge "Hide Status @IntDef" 2020-01-27 19:10:21 +00:00
Brad Ebinger
f590f0a019 Merge changes from topics "cp_rcs_uce_setting", "ims_uce_system"
am: e86be6d43e

Change-Id: Ifbd647107644390561c4b57561c73d6d67384ecf
2020-01-27 11:08:46 -08:00
Brad Ebinger
47c65ba67b Add IMS_RCS_UCE_ENABLED column to SimInfo database
am: 41c232c7bc

Change-Id: I622957ba0bf60f74094cd6c06ea8d041a265ff26
2020-01-27 11:08:16 -08:00
Brad Ebinger
e86be6d43e Merge changes from topics "cp_rcs_uce_setting", "ims_uce_system"
* changes:
  Make remaining UCE related APIs @SystemApi
  Add IMS_RCS_UCE_ENABLED column to SimInfo database
2020-01-27 18:57:57 +00:00
David Su
ae86c54233 Merge "WifiActivityEnergyInfo: clean up API surface" 2020-01-27 18:47:27 +00:00
Jayant Chowdhary
1636af3a1a Merge "camera2: Add apis for querying concurrent streaming support." 2020-01-27 18:24:07 +00:00
Makoto Onuki
14a1ab1b9d Preparing to finalize @SystemApi
- MODULE_APPS is considered to be too confusing, we're going to remove it, and
may revive it once ART is able to support runtime protection

- Change SYSTEM_SERVER to a "client".

Test: Build / treehugger
Bug: 148177503
Change-Id: Id847e29ab211c4c009c234a2e1e469575914e12e
2020-01-27 18:23:30 +00:00
Jordan Liu
2bc01a8764 Fix ordered background broadcast API
This API is only intended for a specific use, so do not allow the caller
to pass in other intents and use it for other things.

Bug: 144108192
Test: atest CellBroadcastIntentsTest
Change-Id: Ibf70fdbb419bbb24f2feeffedc0331e31c865a52
2020-01-27 10:07:20 -08:00
Joshua Imbriani
4cfbdb2e93 Merge "Adding allowBlocking override to getBinder call" 2020-01-27 17:54:27 +00:00
Kenny Guy
183063afdf Merge "Update brightness configuration per API review." 2020-01-27 17:53:59 +00:00
Matt Pietal
50772e9bcd Merge "Controls UI - Basic impl" 2020-01-27 17:49:56 +00:00
Brad Ebinger
cab43e32f0 Make remaining UCE related APIs @SystemApi
Bug: 111305845
Bug: 147613952
Test: atest CtsTelephonyTestCases
Merged-In: I8fed782e7bef10d6d136fce02e6f1b59d225272b
Change-Id: I8fed782e7bef10d6d136fce02e6f1b59d225272b
2020-01-27 09:22:48 -08:00
TreeHugger Robot
c99357ab0a Merge "Add hinge angle sensor feature to PackageManager" 2020-01-27 16:54:07 +00:00
Brad Ebinger
854d2ff9a5 Merge "Make remaining UCE related APIs @SystemApi" 2020-01-27 16:47:44 +00:00
Lee Shombert
c40573a9b7 Merge "Revert "Clean up hasSystemFeature binder cache"" 2020-01-27 16:43:25 +00:00
Bernardo Rufino
cf1c81b9f8 Merge "Move text toast creation to system UI" 2020-01-27 16:33:07 +00:00
Lee Shombert
c3133de4d0 Revert "Clean up hasSystemFeature binder cache"
Bug: 148370985

This reverts commit be9ba356aa.

Reason for revert: The change used <>, which is  supported in Java 9 but not in Java 8.

Change-Id: I06304dead0a54b33b37d6661f9446cc797785bf4
2020-01-27 15:58:42 +00:00
Sergey Volnov
ed8ce564b3 Merge "Use cancellation signals for timeouts and cancel-by-CCService operations" 2020-01-27 15:24:41 +00:00
Matt Pietal
2223179499 Controls UI - Basic impl
The start of basic controls implementation. Support for lights, locks,
and basic thermostat information. Token support is needed only for
mocking at the moment and will be removed.

Bug: 148207527
Test: SystemUiTests

Change-Id: If25c57735ebd314a978d3969934d781eafc4f89c
2020-01-27 09:53:58 -05:00
Peter Wang
bd795cfbba Merge "Remove WindowManager references in Stk" 2020-01-27 13:22:26 +00:00
Anton Hansson
925f0a51a3 Hide Status @IntDef
Typedefs aren't meant to be exposed in the stubs

Bug: 145982314
Test: m
Change-Id: Ied82f8fe225bb74506e24ffdcb45d34edb71570c
2020-01-27 13:19:46 +00:00
Remi NGUYEN VAN
d2d2ea298a Merge "Add support for Ethernet tethering" 2020-01-27 13:01:29 +00:00
Remi NGUYEN VAN
7a0300540a Merge "Support putting one Ethernet interface in server mode." 2020-01-27 13:00:59 +00:00
Vadim Caen
9e9c3e7488 Merge "More verbose messaging for orientation debugging" 2020-01-27 12:57:10 +00:00
Bernardo Rufino
ab338ac42c Move text toast creation to system UI
In order to do that, NotificationManager now calls
StatusBar.showToast(), which is in SystemUI. StatusBar then calls a new
component, ToastUI, which is responsible for rendering the toast. The
code for rendering the toast was extracted from the Toast class, so it
should behave identically.

Also refactored the code a bit on NotificationManagerService, creating
two children of ToastRecord (one for custom, other for text toasts).

The change is gated in Toast class in this CL, but it's also gated on
the system server, so apps can't circumvent the background block.

Bug: 128611929
Bug: 144754526
Test: atest android.widget.cts.ToastTest
Merged-In: Id0021cdc6f72f41b55ff1c5a4f09ae7687586460
Change-Id: Id0021cdc6f72f41b55ff1c5a4f09ae7687586460
2020-01-27 11:13:27 +00:00
Remi NGUYEN VAN
84229e0a8e 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

Change-Id: I34842acd94b972e440c3622f7617df10c18acf65
2020-01-27 19:31:08 +09:00
Lorenzo Colitti
30a8f7ef23 Support putting one Ethernet interface in server mode.
requestTetheredInterface can be used to put an interface in server mode,
which will persist until release() is called on the returned request, or
until the requesting process dies.

Test: Enabled ethernet tethering with change on top
Bug: 130840861
Change-Id: Id96d581acb3fa4e52ca62dd94ec257f56bd3a1ce
2020-01-27 19:12:54 +09:00
Peter Wang
26d8cb3860 Remove WindowManager references in Stk
Bug: 65884891
Bug: 143536562
Change-Id: Iaeb07569534a501b66f381f68c6341270529231b
Fix: 143536562
Test: Build
2020-01-27 16:49:44 +08:00
Peter Wang
b43cc01144 [Telephony Mainline] Make ServiceRegisterer static
Bug: 142255256
Test: Build
Change-Id: Ia6860ce495c0957b6ca942356f267298fe8a2843
2020-01-27 16:11:05 +08:00
Jack Yu
8e6281da55 Merge changes I0ac8c022,Ia6ce0608,Ibc030d2a
am: 3f0a9dbf65

Change-Id: I45158becd88d1e38f492a3ad5023aa96fae5ccd3
2020-01-26 22:50:05 -08:00
Ameer Armaly
c573dddd74 Merge changes from topic "Double Tap Dispatch"
* changes:
  Add flag for services to request multi-finger gestures.
  Add flag for accessibility services to request that double tap gestures be dispatched to the service.
2020-01-27 06:29:37 +00:00
TreeHugger Robot
5ee3f374d1 Merge "Expose constants in Telephony.Carriers" 2020-01-27 06:27:59 +00:00
Jack Yu
26683274db Fixed the documentation and unit tests
Fixed the documentation and re-eanble the
broken unit tests.

Test: LinkAddressTest
Bug: 142949345
Merged-In: I0ac8c022f70cdf9305c183996c2464a8e04ba5ae
Change-Id: I0ac8c022f70cdf9305c183996c2464a8e04ba5ae
(cherry picked from commit 2a36aa6049)
2020-01-26 21:37:36 -08:00