Commit Graph

111615 Commits

Author SHA1 Message Date
TreeHugger Robot
6308b5e2ad Merge "Guard Context Hub Service on Context Hub feature" 2020-01-28 19:09:55 +00:00
David Su
1ac48fd8d6 Merge "Move cacerts_wfa from system to Wifi APEX" 2020-01-28 18:54:29 +00:00
TreeHugger Robot
e428a2cc04 Merge "Deprecate Canvas.EdgeType" 2020-01-28 18:13:01 +00:00
TreeHugger Robot
617b3b71da Merge "Remove getState from InsetsAnimationControlCallbacks" 2020-01-28 17:57:27 +00:00
Meng Wang
094d46dd30 Merge "Telephony: do not use hidden API" 2020-01-28 17:44:32 +00:00
Jonathan Scott
4f3fb47cec Merge "Add crossProfile to ApplicationInfo." 2020-01-28 16:51:09 +00:00
Jorim Jaggi
235728ef89 Remove getState from InsetsAnimationControlCallbacks
No longer needed since we either show or hide all the types when
finishing an animation.

Test: WindowInsetsActivity
Bug: 118118435
Change-Id: I2323403d375cdf781b34b4d2107d3151299eb995
2020-01-28 17:24:14 +01:00
Jonathan Scott
f9b99f5fa1 Add crossProfile to ApplicationInfo.
Test: Manual
Change-Id: I11b5d9919e4463cdaf89826360bc12ae68dbd0af
Bug: 142538125
Bug: 142537267
2020-01-28 15:55:58 +00:00
TreeHugger Robot
f335551b69 Merge "Add haptic composition API." 2020-01-28 12:17:28 +00:00
Linus Tufvesson
4e09642d50 Merge "Cache empty prefixs in NameValueCache" 2020-01-28 11:35:23 +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
Automerger Merge Worker
f613e166f2 Merge "Add @RequiresPermission annotation to reboot APIs" am: 147863d9fc am: dab92d5611
Change-Id: I6d1bd40becf31ddf274c79dd34b38c90f5f83cbe
2020-01-28 11:04:18 +00:00
Automerger Merge Worker
cfc5bfc703 Merge changes I34842acd,Icc6c4d6b am: fb3dccd961 am: b6081962ee
Change-Id: I801ab058c34ed261f6ca4d100927a0cd89fd8e02
2020-01-28 11:03:56 +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
Automerger Merge Worker
a6438c2a3a Merge "Support putting one Ethernet interface in server mode." am: e7e38501e8 am: 4461cfb024
Change-Id: Ifc0f80406038051afe179bf38a4583ab95ab630c
2020-01-28 08:52:56 +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
Milim Lee
58527ba974 Local Tethering with ncm interface
Bug: 130840842
Test: build, boot
      atest TetheringTest
      manual test (call startTethering(TETHERING_NCM))

Merged-In: Icc6c4d6be39e787503cecf3a5835b40d4be12a57
Change-Id: Icc6c4d6be39e787503cecf3a5835b40d4be12a57
(clean cherry-pick)
2020-01-28 17:52:06 +09:00
Remi NGUYEN VAN
4461cfb024 Merge "Support putting one Ethernet interface in server mode."
am: e7e38501e8

Change-Id: Ib1c26821880daa118b1911d4f98ebbd970c3c1b4
2020-01-28 00:37:20 -08:00
Remi NGUYEN VAN
e7e38501e8 Merge "Support putting one Ethernet interface in server mode." 2020-01-28 08:30:18 +00:00
Lorenzo Colitti
261b2ee873 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
Merged-In: Id96d581acb3fa4e52ca62dd94ec257f56bd3a1ce
Change-Id: Id96d581acb3fa4e52ca62dd94ec257f56bd3a1ce
(clean cherry-pick from internal branch)
2020-01-28 16:25:43 +09:00
Automerger Merge Worker
d3b4ec5db9 Merge "SystemApi is @Repeatable" am: 9e01566c50 am: 7a343584f5 am: a752387886
Change-Id: I1d39c017c5758879673629f2e151cf690cf87134
2020-01-28 07:08:47 +00:00
Automerger Merge Worker
a752387886 Merge "SystemApi is @Repeatable" am: 9e01566c50 am: 7a343584f5
Change-Id: I6b95641b6c56ff9d96342dbaa310c40270893a14
2020-01-28 06:58:51 +00:00
Jiyong Park
7a343584f5 Merge "SystemApi is @Repeatable"
am: 9e01566c50

Change-Id: Id63028253a0572d5f587684adcdf341402be3013
2020-01-27 22:49:17 -08:00
TreeHugger Robot
db62abfc24 Merge changes from topic "pip-tests-migration"
* changes:
  Removes default/movement PiP bounds from WM
  Adds unit tests for PipBoundsHandler
2020-01-28 06:46:37 +00:00
Treehugger Robot
9e01566c50 Merge "SystemApi is @Repeatable" 2020-01-28 06:42:08 +00:00
TreeHugger Robot
c112861f0a Merge "Move Skip464XlatStatus enum to Telephony/Annotation.java." 2020-01-28 05:58:10 +00:00
TreeHugger Robot
d6ae88363e Merge "Add hmac to InputEvent and scale to MotionEvent" 2020-01-28 05:23:31 +00:00
Hongwei Wang
35d59141e8 Removes default/movement PiP bounds from WM
Per discussion in go/pip-ctc-strategy, SysUI will not report
default/movements bounds to window manager.

Bug: 141200935
Test: atest PinnedStackTests
Change-Id: Ibdffe18640e167928285fb0efc5c88f82abe18e6
2020-01-27 20:14:39 -08:00
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
Meng Wang
f77ad42dc6 Telephony: do not use hidden API
Bug: 137202333
Test: make
Change-Id: Id0177c9c82d7831d165650c96a3cdea0566a6e2f
2020-01-27 18:01:02 -08:00
TreeHugger Robot
86c1458a70 Merge "API for Inline Presentation Renderer in ExtServices." 2020-01-28 01:59:58 +00:00
Malcolm Chen
14cc219ecd Move Skip464XlatStatus enum to Telephony/Annotation.java.
Skip464XlatStatus enum is only used in mainline modules.

Bug: 140908357
Test: build
Change-Id: Ifa3b55ec7091151241d1bd9264669867f898f380
2020-01-28 00:30:55 +00:00
Automerger Merge Worker
0ff288575a Merge "Support always reporting signal strength phone state listener" am: 260a0aac29 am: 0aa382e588
Change-Id: I9054cb5e6ffa1b70acc34efc627495359f0f2c6a
2020-01-28 00:23:22 +00:00
Shuo Qian
0aa382e588 Merge "Support always reporting signal strength phone state listener"
am: 260a0aac29

Change-Id: I65f599b2b4edc775433e850e775a42b98b4fa127
2020-01-27 16:10:10 -08: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
Shuo Qian
260a0aac29 Merge "Support always reporting signal strength phone state listener" 2020-01-27 23:42:28 +00:00
Automerger Merge Worker
d21d3f8d8d Merge "Update location permission check for ConnectivityUtil" am: 1e5d7a9020 am: df40c6dd2f
Change-Id: I84dd251dd8bbae489327682088fd84e9269e59b4
2020-01-27 23:32:35 +00:00
Qingxi Li
df40c6dd2f Merge "Update location permission check for ConnectivityUtil"
am: 1e5d7a9020

Change-Id: Ic9a61ab57335f778c856ec226ded08a86dc22fc0
2020-01-27 15:21:59 -08:00
Mady Mellor
d5a6dc3193 Merge "Bubble API: add support for URI based icons" 2020-01-27 22:52:03 +00:00
sqian
6cd260243a Support always reporting signal strength phone state listener
We should not allow other stack (such as Bluetooth) to directly control
 modem indication reporting. The hidden API
 TelephonyManager.setRadioIndicationUpdateMode added before do not
 support multiple clients and do not support the case when clients'
 process die.

The new solution would be adding a new listener
 PhoneStateListener.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH and let
 telephony registry (which is running under system process) to tell
 telephony whether to always turn on signal strength update if any client
 is listening to this event.

Introduce a new system API for TelephonyRegistry
to tell Telephony module this listening mechanism.

Introduce a new permision for this function

Test: WIP (Have this CL out to try to catch up the API deadline)
Bug: 147322848

Change-Id: Iaee832c75b29d89dbc9e5c6659e1a7e89c4a467f
Merged-In: Iaee832c75b29d89dbc9e5c6659e1a7e89c4a467f
(cherry picked from commit 93642d4433)
2020-01-27 14:20:09 -08:00
Qingxi Li
545a87c852 Update location permission check for ConnectivityUtil
This CL does following updates for the ConnectivityUtil class:
1. Remove the current profile check from location permission
check since it's not related to location permission check.
2. Makes all the checking functions to static to avoid memory
allocation
3. Rename the class from util to checker.

Bug: 148180968
Bug: 148232681
Bug: 148233000
Test: atest FrameworksNetTest
Change-Id: Ibf8879fe7dbcecdf766b959cb052d4d825b9b24c
Merged-In: Ibf8879fe7dbcecdf766b959cb052d4d825b9b24c
2020-01-27 14:11:15 -08: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
Qingxi Li
64fee3eb04 Merge "Update location permission check for ConnectivityUtil" 2020-01-27 21:50:07 +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