474391 Commits

Author SHA1 Message Date
TreeHugger Robot
a018ca00cf Merge "Invoke One Touch Play on wakeUp for HDMI playback devices" into rvc-dev 2020-04-14 12:36:12 +00:00
TreeHugger Robot
3edb9babf2 Merge "Don't crash when receiving an RTM_DELNEIGH or NUD_FAILED." into rvc-dev 2020-04-14 12:27:29 +00:00
Julia Reynolds
c026d54cd7 Merge changes from topic "bubble_settings_wooo" into rvc-dev
* changes:
  Changes to enable bubble settings CTS
  Notification Bubble Button
  Make bubble settings a pref with an int rather than a bool
2020-04-14 11:22:14 +00:00
Paul Hu
03bc7e7568 Update tethering notification strings
Update strings after converged with carrier.

Bug: 145629001
Bug: 147818698
Test: atests TetheringTests
Change-Id: I8ad34e8c93ba1547aa397a8e9c0ecc15286a2b0b
Merged-In: I8ad34e8c93ba1547aa397a8e9c0ecc15286a2b0b
(cherry picked from commit d4a1bd7b73991c4197b49a3ff36e7683273ae736, aosp/1284584)
2020-04-14 11:18:09 +00:00
Susi Kharraz-Post
1faa960005 Merge "Rename sharesheet started atom proto fields." into rvc-dev 2020-04-14 10:49:57 +00:00
JW Wang
21f457f470 Merge "Remove the workaround" into rvc-dev 2020-04-14 10:01:54 +00:00
Lorenzo Colitti
8bc1e54d48 Don't crash when receiving an RTM_DELNEIGH or NUD_FAILED.
These events don't have MAC addresses, so the code attempts to
create an Ipv6ForwardingRule with a null MAC address. This
crashes when attempting to get the raw MAC address bytes to send
to netd in the TetherOffloadRuleParcel.

This was not caught by unit tests because the test exercise this
code path in a way that is not correct (by sending RTM_DELNEIGH
and NUD_FAILED events with MAC addresses). Fix the unit tests to
properly pass in null MAC addresses for these events.

Bug: 153697068
Test: fixed existing tests to be more realistic
Merged-In: I26d89a81f1c448d9b4809652b079a5f5eace3924
Change-Id: I26d89a81f1c448d9b4809652b079a5f5eace3924
2020-04-14 09:55:17 +00:00
SongFerng Wang
6cfdd46d4b Merge "For NR (non-standalone), use LTE signal strength as primary rule" into rvc-dev 2020-04-14 09:30:42 +00:00
Mark Chien
ee6107e51c Merge "Change tethering file structure to respect its package name" into rvc-dev 2020-04-14 09:18:37 +00:00
Charles Chen
7ba8e26c87 Fix WindowContextTests
Previously, window token assigns last config to mLastReportedConfiguration
directly, which makes it share the same reference with getConfiguration(),
and blocks all config changes request to clients.

This CL uses Configuration#setTo instead.

fixes: 152227175
Bug: 150251036
Test: atest WindowContextTests

Change-Id: I44143aa558f223eb301e28f2e9110bfd66eac636
2020-04-14 16:57:18 +08:00
PETER LIANG
40dff7cd01 Merge "Migrate AccessibilityButtonChooserActivity into dialog folder and renaming." into rvc-dev 2020-04-14 08:56:55 +00:00
TreeHugger Robot
3002b11fb6 Merge "CEC: Filter certain message arguments from logging" into rvc-dev 2020-04-14 08:41:57 +00:00
Hongwei Wang
a2807f2859 Merge "Update destination bounds if rotation finishes first" into rvc-dev 2020-04-14 07:27:30 +00:00
Joanne Chung
ba52b860f7 Merge "Pass augmented client state to the event history." into rvc-dev 2020-04-14 07:16:02 +00:00
Hyundo Moon
e6bd8505be Merge changes Ibf61ba52,Ief4b7f4b into rvc-dev
* changes:
  Allow MediaRouter2Manager releasing the session created w/o request
  Do not check router's permission on requests from MediaRouter2Manager
2020-04-14 06:41:26 +00:00
markchien
503be61a6e Change tethering file structure to respect its package name
Bug: 145099347
Test: atest TetheringTests
      atest CtsTetheringTest
Change-Id: I7401c550fbafd17a5ed2d925b5d0e17e358af467
Merged-In: I7401c550fbafd17a5ed2d925b5d0e17e358af467
2020-04-14 14:33:45 +08:00
TreeHugger Robot
35f960dff4 Merge "Add Multi Audio focus" into rvc-dev 2020-04-14 06:29:16 +00:00
TreeHugger Robot
635c9bcb04 Merge "Return empty array when BluetoothAdapter is null" into rvc-dev 2020-04-14 06:26:34 +00:00
Louis Chang
8758ee4176 Merge "Compute visibilities when finishing show-when-lock activity" into rvc-dev 2020-04-14 06:22:30 +00:00
Chalard Jean
b0bf3e94fa Merge "Add instrumentation to test NetworkAgent." into rvc-dev 2020-04-14 04:54:33 +00:00
Hongwei Wang
e0412d1fdb Update destination bounds if rotation finishes first
When the entering pip transition is on-going and rotation finishes
first, simply schedule a resize on the PiP window

Bug: 153827966
Test: repeatedly enter/exit PiP with Play Movies
Change-Id: Ie9bf7fbc44970d4fe03b7febde5d69c7348e5bb9
2020-04-13 21:54:06 -07:00
Bill Yi
3a4a811577 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: I93aacb21ddb27aebce575b9f12e553047caae2cd
2020-04-13 21:17:04 -07:00
hughchen
be5140048a Return empty array when BluetoothAdapter is null
BluetoothAdapter will be null in some platform device, because they
don't have bluetooth feature. This CL add null check to avoid null
point exception on non-bluetooth feature platform device.

Bug: 152647633
Test: make -j42 RunSettingsLibRoboTests
Change-Id: Iba7f41796bd22163ab55a7f9ff4f44df6513754e
2020-04-14 11:50:55 +08:00
Jacky Kao
705ebb0946 Merge "Fix more windows at framework on system gesture mode" into rvc-dev 2020-04-14 03:38:43 +00:00
Louis Chang
3d718c30c6 Compute visibilities when finishing show-when-lock activity
The activity visibilities was not updated in KeyguardController
while a show-when-locked activity was finished. Therefore, the
general activity below was resumed for a short time and flickering
the screen with transition animation.

Bug: 149837574
Test: start emergency dialer and exit
Test: atest ActivityRecordTests
Change-Id: I7cea9d3e00a856c392728c7a8c825d4633b73f55
2020-04-14 11:33:53 +08:00
Peter_Liang
8b7c9dada1 Migrate AccessibilityButtonChooserActivity into dialog folder and renaming.
1. Migrate and renaming file, functions.
2. Revise java doc and annotations.

Bug: 151294664
Bug: 147655054
Test: manual test
Change-Id: Ie791bce32b21495f9c2bf499feb8f6601c941f1d
2020-04-14 03:24:59 +00:00
SongFerngWang
68c58a57b0 For NR (non-standalone), use LTE signal strength as primary rule
There are two signal strengths, NR and LTE signal strength,
during NR (non-standalone). A lot of carriers' requirement define
UE show LTE signal strength on status bar during
NR (non-standalone).
Add a carrier config whether to use LTE signal strength as
primary during NR (non-standalone)

Bug: 152864241
Test: make pass.
Change-Id: Ib13d73719dace2d80aee5669181f4f934316ffd1
2020-04-14 11:16:47 +08:00
Bill Yi
0cb79869d5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Idc5b671c85c6749bdc6411ada1cc9781e355f0fa
2020-04-13 19:47:42 -07:00
Chalard Jean
4947356664 Merge "Allow testing of signal strength" into rvc-dev 2020-04-14 02:42:06 +00:00
Jin Seok Park
78552a888a Merge "Ensure thread-safety of SimpleDateFormat" into rvc-dev 2020-04-14 02:28:03 +00:00
TreeHugger Robot
6557f7169c Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-04-14 02:25:17 +00:00
TreeHugger Robot
38a68f0c62 Merge "Expand minimized split stack on relaunch-attempt" into rvc-dev 2020-04-14 02:20:46 +00:00
Bill Yi
924109813c Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Ife526f41eb08a57f3571f3f1138bf87204f535cc
2020-04-13 19:17:55 -07:00
Mark Chien
ddbe63e44c Merge "Tethering: Add an exported flag in manifest" into rvc-dev 2020-04-14 01:41:00 +00:00
TreeHugger Robot
1dcd8f4116 Merge "startop: Forward the package update event from dexopt service to iorapd." into rvc-dev 2020-04-14 01:28:39 +00:00
TreeHugger Robot
45e7091f37 Merge "Apply rotation animation to restore rotated activity" into rvc-dev 2020-04-14 01:27:54 +00:00
Chalard Jean
3b2a81b23b Allow testing of signal strength
- Let any process with NETWORK_SETTINGS register for signal strength
  wakeup.
- Allow agents registering test networks to assign them a signal
  strength.

Test: NetworkAgentTest
Bug: 139268426
Change-Id: Iebfeb9316bcbd8472459c517abb16f1f9d879871
Merged-In: I2b4b89be3e69f4853fd6978d2c8f5c8eb4271f21
(cherry picked from commit 5cc7b18fe7fa94ce2e30572c476df445ed337741, aosp/1284585)
2020-04-14 01:22:14 +00:00
Chalard Jean
0348de6615 Add instrumentation to test NetworkAgent.
Test: NetworkAgentTest, new tests using this API
Bug: 139268426
Change-Id: I0b65be788bb742fd1a8c0ca624e97368462f9b6a
Merged-In: Ia83b1c896df63bb18e2aa4b74d6cc09eba990eb5
(cherry picked from commit d89dcb9765b9c73c950661faaf8af9b795934acb, aosp/1284574)
2020-04-14 01:20:16 +00:00
Bill Yi
14c43c7180 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Change-Id: Id78bfa0e9b35b6f420060ef30d03b557f7c8d342
2020-04-13 18:17:59 -07:00
Chiachang Wang
ecbf648b62 Merge "Add more tests for CaptivePortalData" into rvc-dev 2020-04-14 01:15:46 +00:00
Chiachang Wang
7448287450 Merge "Move CaptivePortalDataTest to common test to support cts" into rvc-dev 2020-04-14 01:15:09 +00:00
Chiachang Wang
9400126e32 Add more tests for CaptivePortalData
Add missing tests to cover all system APIs

Bug: 152280218
Bug: 150640683
Test: atest CtsNetTestCasesLatestSdk:CaptivePortalDataTest on
      both Q and R device
Change-Id: I6d3826922f16816d5b18ed3540266442a0ed3e49
Merged-In: I6d3826922f16816d5b18ed3540266442a0ed3e49
(cherry picked from commit d9f9bf34637f699608fa3b919b3c85f3d5514a83)
2020-04-14 01:13:21 +00:00
Phil Burk
05f0262840 Merge "MIDI: check range of port counts" into rvc-dev 2020-04-14 01:13:20 +00:00
Jacky Kao
fd3b4a8c69 Fix more windows at framework on system gesture mode
When the mode of navigation bar is system gesture mode, there is
a navigation bar inset existing, but the application can not touch
this region due to all touch events from this region received by
launcher. We need to account this region with unaccount space to
avoid the windows which could not be touched passing to A11y
framework.

Bug: 142022890
Test: a11y CTS & unit tests
Change-Id: If87e1f5b840daa93f78c4b4955ed98633b654928
2020-04-14 08:53:18 +08:00
TreeHugger Robot
159904ef21 Merge "Log more info on StorageManagerService.unlockUserKey()" into rvc-dev 2020-04-14 00:45:36 +00:00
Tyler Gunn
7c61306fa5 Fix parceling and unparceling for URIs in Telecom.
When testing parceling and unparceling of numbers with postdial digits
it appears in parcelling to the dialer there were some cases where
the commas were being URL encoded during parceling.

Elsewhere in the platform the Uri.writeToParcel and
Uri.CREATOR.createFromParcel methods are used.  Switching to those methods
ensured that the parceling did not uri-encode on parcel/unparcel.
GatewayInfo already used the right method to unparcel.

Test: Unit/CTS tests.
Fixes: 152172598
Change-Id: I32b7d049107cb3901fd934dc609541d1d2622a5a
2020-04-13 17:19:24 -07:00
Evan Rosky
71d6e68736 Merge "Make PINNED mode alwaysCreateStack" into rvc-dev 2020-04-14 00:04:06 +00:00
Hongwei Wang
aaa747d223 Merge "Ensure TaskOrganizer works for newly created pinned stack" into rvc-dev 2020-04-14 00:00:49 +00:00
Evan Rosky
a56c8a2ce2 Expand minimized split stack on relaunch-attempt
If a relaunch-attempt is made on the app in a minimized
primary-split, just expand it. This way its clear to the user
what happened and is much closer to their intent. Previously,
this was just opening recents; however, that doesn't make sense
for pixel launcher (which remains in minimized-dock even with
recents active) because the actual launched-app is still
not-focusable and partially obscured.

Also, modified the restart-attempt logic to directly check if
divider is minimized rather than homeTaskVisible since that is
semantically what matters.

Bug: 152772854
Test: Open an app into split-screen primary with launcher in
      secondary. Then launch the same app from launcher.
Change-Id: Ib04d9a949aff5a5202e1f83c820cb3e9589598fb
2020-04-13 16:56:24 -07:00
Lucas Dupin
3e18f22f1a Disable drag behavior until toggle is on
Bug: 153040823
Test: manual
Change-Id: I3b6baf187c93da731d1747f6141005a2addacc47
2020-04-13 15:14:44 -07:00