Commit Graph

412991 Commits

Author SHA1 Message Date
Dmitry Dementyev
cdec79367d Merge "Check that Account Parcel has name and type." into qt-dev 2019-04-09 17:55:13 +00:00
Anil Admal
16f6a30c9d Merge "Change SUPL network request parameters for requestRouteToHostAddress" into qt-dev 2019-04-09 17:54:21 +00:00
SongFerng Wang
1de175914b Merge "notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState." into qt-dev 2019-04-09 17:53:43 +00:00
Adam He
168f7e48ac Merge "Added documentation to note onDisconnected() should not make calls to their respective managers." into qt-dev 2019-04-09 17:37:07 +00:00
TreeHugger Robot
f4cd9daf58 Merge "AudioService: add scheduleLoadSoundEffects" into qt-dev 2019-04-09 17:17:01 +00:00
Xiangyu/Malcolm Chen
f27caf7d58 Merge "Add comments in grouping APIs to clarify possible exceptions." into qt-dev 2019-04-09 17:13:35 +00:00
TreeHugger Robot
a29d434006 Merge "Tweaked the rounded corners when turning off" into qt-dev 2019-04-09 16:29:53 +00:00
Winson Chung
773a231fc6 Merge "Ensure VoiceInteractionManagerService updates the assistant setting" into qt-dev 2019-04-09 15:35:58 +00:00
Jorim Jaggi
09c9427636 Merge "Ensure stack bounds are set for most animations" into qt-dev 2019-04-09 15:09:05 +00:00
Aaron Heuckroth
5a39b450ad Merge "Increase character limit on GlobalActions bugreport string." into qt-dev 2019-04-09 15:04:09 +00:00
TreeHugger Robot
8edbcf8c32 Merge "Sharesheet - Add support for sunshine" into qt-dev 2019-04-09 14:42:31 +00:00
SongFerngWang
0b109f5f93 notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.
notifyUserMobileDataStateChangedForPhoneId does not set mUserMobileDataState.

Bug: 128510330
Test: build pass
Change-Id: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
Merged-In: I5db6329ce4699cca8d79a827c36f7f61a4fa8f92
(cherry picked from commit 1b3134c514)
2019-04-09 13:45:45 +00:00
TreeHugger Robot
8e3183e126 Merge "Address leftover comments on aosp/894233" into qt-dev 2019-04-09 13:39:29 +00:00
Narayan Kamath
94feed6c55 Merge "Shell: Grant CACHE_CONTENT to Shell" into qt-dev 2019-04-09 13:34:30 +00:00
Charles Chen
943d1130e4 Merge "Fix TaskPositionerTests" into qt-dev 2019-04-09 12:23:12 +00:00
Jorim Jaggi
48f549711f Ensure stack bounds are set for most animations
...as otherwise rounded corners don't work. Also, ensure that we
only set rounded corners if a crop is set.

Test: WindowAnimationSpecTest
Test: Task switch animation
Fixes: 129062310
Change-Id: I9fea6a520cccf1ccf2aea3f57a4ce0dda3852779
2019-04-09 14:17:05 +02:00
Chalard Jean
971d9c9937 Address leftover comments on aosp/894233
Cherry-pick from commit 415f523f7c,
with small conflict resolution.

Bug: 129510344
Test: m, boots, wifi connects, resolves DNS
Change-Id: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Idf24f42a86bbfcc89e3ea8cf50d1b705d72ac613
Merged-In: Ia08104f839ef37139a8761e2e625bb10c94c275f
2019-04-09 12:16:52 +00:00
Chalard Jean
9d1465d0b5 Move the latest AIDL update to the bottom
Test: m
Bug: 128803828
Change-Id: I3818eb8abb5a410663a6da633d5516cef4ecad8e
(cherry picked from commit 45ff048d40)
2019-04-09 12:04:26 +00:00
Matt Pietal
a4b30072a0 Sharesheet - Add support for sunshine
Set apps/targets to be visually disabled when in suspended state. Do
not auto launch when the only app is suspended.

Bug: 112553778
Test: Manually inspect colors on app suspension
Change-Id: Ief9faba831c4f3676f02f84b0174b74d4103f940
2019-04-09 07:57:04 -04:00
Chiachang Wang
6839f419de Merge "Move data stall definitions out from Setting" into qt-dev 2019-04-09 11:52:54 +00:00
TreeHugger Robot
5a56c2d9cc Merge "Sharesheet: Rank the first N apps, then show the rest alphabetically." into qt-dev 2019-04-09 11:10:00 +00:00
Lorenzo Colitti
54c7a055de Merge "Fix ConnectivityServiceTest fail." into qt-dev 2019-04-09 10:25:10 +00:00
TreeHugger Robot
1ed8d8109f Merge "DynamicSystem string review followup" into qt-dev 2019-04-09 10:22:19 +00:00
TreeHugger Robot
7c0d309886 Merge "Add a mechanism to pass the L2Key and group hint to IpClient" into qt-dev 2019-04-09 10:21:39 +00:00
TreeHugger Robot
abb606c5bd Merge "Fix NPE in ActivityRecord" into qt-dev 2019-04-09 09:16:02 +00:00
TreeHugger Robot
634dff01cb Merge "Fix flaky UdpEncapsulationSocket test" into qt-dev 2019-04-09 09:15:02 +00:00
paulhu
1677869191 Fix ConnectivityServiceTest fail.
NetdService#getInstance() will get null object in
WrappedConnectivityService constructor. Then pass this null
INetd object to PermissionMonitor will case NPE in
PermissionMonitor#sendPackagePermissionsToNetd()

Bug: 128024100
Test: atest FrameworksNetTests
Change-Id: Ia1c80f9600a19c4aaf3f3c1b497b355d96c49c8e
Merged-In: I7f185e731db91c30a9b0f14aefbdbb067942190e
Merged-In: Ic77ef73841266da487401ffd657ef63562b6fc1e
(cherry picked from commit 7d21507852)
2019-04-09 08:57:08 +00:00
Narayan Kamath
a31ed1bbdd Shell: Grant CACHE_CONTENT to Shell
Required to test ContentResover#[get|put]Cache

Bug: 127711435
Test: atest CtsContentTestCases
Change-Id: I5eb72772a0a35897611dd6db95c68a2d2e971e9a
2019-04-09 09:50:53 +01:00
Lorenzo Colitti
8d994400b5 Merge "Extend support for requestRouteToHostAddress for backward compatibility" into qt-dev 2019-04-09 08:46:12 +00:00
Lorenzo Colitti
15bff87527 Merge "Don't leak captive portal broadcast receivers." into qt-dev 2019-04-09 08:39:22 +00:00
Chiachang Wang
0b98441205 Move data stall definitions out from Setting
From mainline perspective, we should use android flag api
instead of using Settings. Thus, move the definitions into
NetworkStack.

Bug:120013793
Test: atest NetworkStackTests SettingsBackupTest
Change-Id: I8e1fb5b47fff3bf624131ba1f5732daabd991e6d
2019-04-09 08:32:55 +00:00
Chalard Jean
d3c34d4c59 Add a mechanism to pass the L2Key and group hint to IpClient
Test: IpClientTest
Bug: 128803828
Change-Id: I399b20ce29a385a74971b7a7248a48cb4d66deb6
(cherry picked from commit 3cab290648)
2019-04-09 07:55:17 +00:00
Charles Chen
69362cde87 Fix NPE in ActivityRecord
This issue happened when we get null ActivityRecord.
Add a null check to prevent.

Also fix typo in ActivityStack.

Test: atest ActivityRecordTest
Fix: 129485624

Change-Id: I93b7dda1577b34f58fb5daed201404de4cfbad2e
2019-04-09 15:11:30 +08:00
Anil Admal
e41992c16e Extend support for requestRouteToHostAddress for backward compatibility
The gnss@2.0 HAL and the framework GNSS Location Provider code is
updated in Q to not call the deprecated requestRouteToHost() method.
However, devices upgrading to Q which are still using gnss@1.1 or
earlier HAL must continued to be supported.

Fixes: 121222025
Test: Tested with gnss@1.1 HAL and first API level P.  The
      ConnectivityService log message "This method exists only for
      app backwards compatibility and must not be called by system
      services" is not present for devices with first API level P.

Change-Id: I10199776ea413dc256dbf0771e6cb3eedb334495
Merged-In: Ifa60d8f2d60aba4c4e2894dc612c224d45e3992d
Merged-In: Ifa4ec98d5c942522dfd569664f169fa841d495ed
(cherry picked from commit 2eea7ac272)
2019-04-09 06:45:57 +00:00
Lorenzo Colitti
f0d45503bc Fix flaky UdpEncapsulationSocket test
This commit reduces the flakiness of the
testOpenAndCloseUdpEncapsulationSocket by retrying up to three times.
Unfortunately, testing port-selected socket creation is racy against
other applications. This helps to handle the same race condition as done
in IpSecService#bindToRandomPort

Bug: 128024100
Test: 200x runs of testOpenAndCloseUdpEncapsulationSocket
Change-Id: I7e036ce821019dbac6c50899bd0894e89d2fe82a
Merged-In: Idf040a67e53d9b9ec6e6c647ce24f8ada501d355
Merged-In: Iad9aea4b42cd8b31a5a2659bb9cb54dd1c64e8b7
(cherry picked from commit 614ab3dd4e)
2019-04-09 06:44:32 +00:00
Lorenzo Colitti
b878dff849 Disable InetDiagSocketTest in a better way.
Test: treehugger
Bug: 124354087
Bug: 128024100
Change-Id: I3048625a2507e70402ce376e7208f58cdf5ddfba
Merged-In: I3d8cebec00dde7d0b61469f36887cd5afface043
Merged-In: I1fcb9ca292777fb017e9108a3e12cffba87e1985
(cherry picked from commit 2373c8a129)
2019-04-09 06:40:07 +00:00
Lorenzo Colitti
db54f46641 Temporarily disable InetDiagSocketTest.
This test is too flaky to run in presubmits.

Bug: 124354087
Test: atest InetDiagSocketTest
Change-Id: I90bc52a6f5b92d634862e3464634dfdbd3cada6a
Merged-In: Ic580b9261e0d556ec10f92ddffd8f2766e25f424
Merged-In: Ide5ac3f5316c4671b17fb9486ac56fc5feaf7b08
(cherry picked from commit fdc03bab0b)
2019-04-09 06:38:08 +00:00
Po-Chien Hsueh
9a1627f521 DynamicSystem string review followup
Some changes to follow string review suggestions:
- Simplify some messages.
- Replace 'Reboot' with 'Restart'.
- Notification action button order: 'Restart' button on the right.

Bug: 129100345
Test: verified with test app
Change-Id: I1ee97b0adbf74add68d3561fc647dc4923ee7237
2019-04-09 14:26:38 +08:00
Lorenzo Colitti
15be2b1a36 Don't leak captive portal broadcast receivers.
Since aosp/937885, mLaunchCaptivePortalAppBroadcastReceiver is
nulled out, but not unregistered, when exiting MaybeNotifyState.
This causes the BroadcastReceiver to be leaked because it is no
longer unregistered when processing CMD_NETWORK_DISCONNECTED.

Fix this by unregistering the receiver in MaybeNotifyState#exit.
Also remove the unregister call in CMD_NETWORK_DISCONNECTED: it
is no longer necessary, because StateMachine, before quitting,
will call the exit method of the current state and all its
parent states.

Bug: 122164725
Test: atest FrameworksNetTests NetworkStackTests
Change-Id: I447b3cfd3821dda19482ed962dd59ec61fc5fc9b
Merged-In: I1db24fe05ada8b3a37a9a60aa568b6153bf51ad8
(cherry picked from commit 3a1c0ad3ee)
2019-04-09 06:26:23 +00:00
TreeHugger Robot
16f682cac6 Merge "Fix InsetsSourceConsumer visibility" into qt-dev 2019-04-09 05:34:11 +00:00
Philip P. Moltmann
0d5d43c713 Merge changes from topic "AlwaysExpandLocationQ" into qt-dev
* changes:
  Do not modify location perms on upgrade
  Only update permissions of one app
2019-04-09 05:34:01 +00:00
Remi NGUYEN VAN
e945aa8ba1 Merge "Add common tests for FrameworksBaseTests and CTS" into qt-dev 2019-04-09 05:16:29 +00:00
TreeHugger Robot
66846fe825 Merge "Respect the hardware buffer usage flags set by the consumer." into qt-dev 2019-04-09 04:45:30 +00:00
TreeHugger Robot
c007b7f50e Merge "Remove custom lifecycle transitions for onNewIntent callback" into qt-dev 2019-04-09 04:35:20 +00:00
TreeHugger Robot
7fe981bf9e Merge "Fixed IFillCallback to be oneway calls." into qt-dev 2019-04-09 04:20:19 +00:00
TreeHugger Robot
5d7a31d689 Merge "Create ThemeOverlayController in SystemUI." into qt-dev 2019-04-09 04:17:40 +00:00
TreeHugger Robot
b7cbb87e90 Merge "Adds annotations in response to API feedback." into qt-dev 2019-04-09 03:10:37 +00:00
TreeHugger Robot
8758e88530 Merge "Increase string limits" into qt-dev 2019-04-09 02:22:26 +00:00
TreeHugger Robot
9568b08b5a Merge "[SettingsLib] Display WPA2/WPA3-Personal for WPA2/WPA3 transition mode networks" into qt-dev 2019-04-09 02:17:06 +00:00
Selim Cinek
9ad240c058 Tweaked the rounded corners when turning off
The rounded corners now decrease with the x of the turn off
animation to give it a slightly less blobby feel.

Fixes: 129771535
Test: manual, turn on and off the screen
Change-Id: I1756749198632b05ee358b565d99b765a4950042
2019-04-08 19:07:15 -07:00