473688 Commits

Author SHA1 Message Date
Alex Buynytskyy
f415679228 Change the way how we call setStorageParams.
Now it's unified with callback FS connector - we are passing the
callback pointer directly to dataloader. This restricts access only
to methods we want and only by someone we want.

Bug: b/153468113
Test: atest PackageManagerShellCommandTest PackageManagerShellCommandIncrementalTest IncrementalServiceTest
Change-Id: Ib557ebbe7c6c5ce92140eb20534a3626b3ac96d3
2020-04-07 14:42:50 -07:00
Chris Tate
21f4dd5c7c Merge "Verify all possible hosts that match web nav" into rvc-dev 2020-04-07 17:41:28 +00:00
Chavi Weingarten
2d8d9812e9 Merge "Move DimLayer to Root if translucent window and not multi-window" into rvc-dev 2020-04-07 17:25:10 +00:00
Jian-Yang Liu
41db36ec48 Merge "Updated InsetsPolicy to read config_forceShowSystemBars and prevent system bars from being hidden by applications if true." into rvc-dev 2020-04-07 17:18:33 +00:00
Tiger Huang
0bd7672693 Merge "Create input consumer only when nav bar is hidden by client" into rvc-dev 2020-04-07 17:12:06 +00:00
Sally Yuen
387529809d Merge "Check for text when adding CollectionInfo and CollectionItemInfo" into rvc-dev 2020-04-07 17:06:04 +00:00
TreeHugger Robot
5d3fc109ec Merge "Don't reset the capture mode after each frame when using the CallbackAPI" into rvc-dev 2020-04-07 17:04:49 +00:00
TreeHugger Robot
bd745f763a Merge "Expose Display.getType() via TestApi." into rvc-dev 2020-04-07 16:41:47 +00:00
Lucas Dupin
f7ef70e669 Merge "Update bouncer fingerprint lockout logic" into rvc-dev 2020-04-07 16:34:41 +00:00
Nikita Ioffe
7f636ea3de Merge "Improve exception in validate{Apex,Apk}InstallLocked" into rvc-dev 2020-04-07 16:27:35 +00:00
TreeHugger Robot
77d7bcc124 Merge "Update controls after addToDisplay/relayout before dispatching insets" into rvc-dev 2020-04-07 16:26:53 +00:00
Lee Shombert
773cc6249e Merge "Fix exception handling in getState() binder cache" into rvc-dev 2020-04-07 16:18:11 +00:00
Lucas Dupin
49a07e5bff Merge "Make control panel black" into rvc-dev 2020-04-07 16:12:09 +00:00
TreeHugger Robot
0ed25f0cd2 Merge "Show sharesheet with 1 personal app and >0 work apps with WP off" into rvc-dev 2020-04-07 16:06:30 +00:00
Joshua Duong
002ed644a2 Merge "[adbwifi] Fix adbwifi string case." into rvc-dev 2020-04-07 15:54:28 +00:00
TreeHugger Robot
614f10947c Merge "Move row check to requestPipeline instead of start" into rvc-dev 2020-04-07 15:49:23 +00:00
TreeHugger Robot
9e76544cee Merge "Check if QQS shows player when updating height" into rvc-dev 2020-04-07 15:36:47 +00:00
Derek Sollenberger
5f9753d770 Don't reset the capture mode after each frame when using the CallbackAPI
When multiframe skp support was introduced it set the capture mode to
none for everything but the multiframe use case. This was incorrect in
the case of the CallbackAPI where we want to continue to capture frames.

Bug: 152084866
Test: hwui_unit_tests
Change-Id: I7e3caf41a3725d03252df1ab7bedfe1b69a238c2
2020-04-07 11:26:52 -04:00
John Li
2d15283def Merge "Change field type for reverse" into rvc-dev 2020-04-07 15:15:05 +00:00
TreeHugger Robot
1f659da696 Merge "Only use padding for the multi-user empty state screens." into rvc-dev 2020-04-07 14:11:01 +00:00
TreeHugger Robot
4552718e95 Merge "Controls UI - Direct 'add controls' to the proper activity" into rvc-dev 2020-04-07 14:03:32 +00:00
TreeHugger Robot
10dd5e9a18 Merge "Don't update the genID for an immutable bitmap" into rvc-dev 2020-04-07 13:46:17 +00:00
András Klöczl
46b8dc5f20 Merge "Redesign user switcher" into rvc-dev 2020-04-07 13:42:13 +00:00
TreeHugger Robot
c524ad59f3 Merge "WifiNetworkSpecifier: Ensure we don't match a regular wifi network" into rvc-dev 2020-04-07 13:38:37 +00:00
Leon Scroggins
b1dfb8e575 Merge "Switch get_env_or_die to requireEnv" into rvc-dev 2020-04-07 13:26:03 +00:00
Matt Pietal
d2ea531bc4 Controls UI - Direct 'add controls' to the proper activity
If there's more than one structure, set to the proper page in the
ViewPager. Fix the backstack so 'see other apps' works properly.

Bug: 153017283
Test: manual, use 'add controls' menu

Change-Id: Ie99537dee841817c8d790e00fe50c800a90c6158
2020-04-07 08:45:49 -04:00
arangelov
3af1e867d3 Only use padding for the multi-user empty state screens.
Fixes: 153281721
Test: manual
Change-Id: I9abad5cc57cf238230fe87b2b2d62dd13f75ca6c
2020-04-07 13:36:01 +01:00
TreeHugger Robot
1d8c3d0edd Merge "Add bottom padding to empty state screens." into rvc-dev 2020-04-07 12:24:34 +00:00
Linus Tufvesson
b66684981f Merge "Use TYPE_PRIVATE_PRESENTATION for private presentations" into rvc-dev 2020-04-07 11:32:16 +00:00
John Li
8a28d02012 Change field type for reverse
Bug: 152939508
Test: manual
Change-Id: I3b67b10b13b58d9aa80bd2acf98ebe53854ebbd1
2020-04-07 18:57:16 +08:00
Santos Cordon
29d5b8f43e Expose Display.getType() via TestApi.
Bug: 151124371
Test: atest android.display.cts.DisplayTest
Change-Id: Id3c25fe675c1fa2b0070cf95736c608315b5e26b
2020-04-07 09:56:16 +00:00
TreeHugger Robot
7eb72faa06 Merge "BLAST: Descriptive adapter layer names" into rvc-dev 2020-04-07 09:55:38 +00:00
Kholoud Mohamed
5ec3cbac4c Merge "Remove platform-signed apps from configurable cross profile apps" into rvc-dev 2020-04-07 09:55:18 +00:00
Gavin Corkery
503612127a Merge "Call startObservingHealth on handler thread" into rvc-dev 2020-04-07 09:47:59 +00:00
TreeHugger Robot
4b500ced32 Merge "Make system_server profilable on user." into rvc-dev 2020-04-07 09:46:21 +00:00
Fiona Campbell
adbe11f6ac Merge "Make PowerManagerService use float for brightness" into rvc-dev 2020-04-07 09:36:09 +00:00
Chalard Jean
18eb7e5570 Merge "Fix a stupid NPE" into rvc-dev 2020-04-07 09:23:44 +00:00
Abhijeet Kaur
873f59dc0e Merge "Delete empty bugreport files onError" into rvc-dev 2020-04-07 09:22:26 +00:00
Rhed Jao
2aab1a4d49 Merge "Fix an exception while scanning apex packages" into rvc-dev 2020-04-07 08:49:48 +00:00
Florian Mayer
876e06aa97 Make system_server profilable on user.
Test: m with matching SELinux change. profile sys_srv.

This is a cherry-pick of be583be3ed6a53d3de6c4949a7c9754ec7fee3ed.

Bug: 151140716
Change-Id: I545b758421ea7527d75b5d2756a6b11ae475e7de
Merged-In: I545b758421ea7527d75b5d2756a6b11ae475e7de
2020-04-07 08:46:11 +00:00
Tiger Huang
0426a33650 Update controls after addToDisplay/relayout before dispatching insets
A window might request to control insets before it is added to WM and
expect the first dispatched WindowInsets as requested.

The first insets state returned from addToDisplay or relayout might be
not expected if the window just become thecontrol target in the
function.

With this CL, WM can return controls from addToDisplay and relayout, so
that the client can apply controls immediately, and update controlled
insets sources before dispatching the insets to the view hierarchy. This
enaures the insets dispatched are up-to-date.

Fix: 150756571
Test: atest WindowInsetsControllerTests RelayoutPerfTest
            WindowAddRemovePerfTest
Change-Id: Ib78c24beb7af5a54ad78935c3ddb260ef9645212
2020-04-07 16:05:40 +08:00
Mark Chien
1d26c937fd Merge "Add IPv6TetheringCoordinator unit test" into rvc-dev 2020-04-07 07:50:40 +00:00
Nandana Dutt
8a7e8b8494 Merge "Add preserveLegacyExternalStorage to dumpsys" into rvc-dev 2020-04-07 07:45:54 +00:00
Treehugger Robot
b2f183cd6e Fix a stupid NPE
Okay so this is really not a behavior change as it converts an
NPE into an illegal argument exception, but still, that's what
should happen (and that's what the upcoming test actually tests
for).

Test: upcoming NetworkAgentTest
Bug: 139268426
Change-Id: I0d9b8cb8f8dcb587b9430b486b863efb9e9e77ef
Merged-In: I3e17211c03bc74426bf5e2e414ec322d73b0060b
(cherry picked from commit 827d7ceea1e83cca9ba3f6189e20b6780c0194ed, aosp/1277595)
2020-04-07 07:29:10 +00:00
Arc Wang
b02f8ff74f Merge "[Wi-Fi] Add WifiSavedConfigUtils#getAllConfigsCount" into rvc-dev 2020-04-07 07:16:24 +00:00
Roshan Pius
573e3fe6be WifiNetworkSpecifier: Ensure we don't match a regular wifi network
In Android 10, ClientModeImpl would always attach a
WifiNetworkAgentSpecifier for all wifi network agents created
(regardless of whether it was created in response to a specific request
or not). In Android 11, we changed that behavior to ensure that we
attach the WifiNetworkAgentSpecifier only for agents created in response
to a specific request. However, that is exposing a bug in
WifiNetworkSpecifier matching. WifiNetworkSpecifier attached requests
should not satisfy a generic wifi network agent. Fix the
canSatisfiedBy() matching to ensure that it only matches
WifiNetworkAgentSpecifier (or itself which cannot happen during network
matching)

Bug: 149500993
Test: Add a saved network manually while running the failing ACTS test:
act.py -c wifi_manager_cross.config -tb dut-name -tc WifiNetworkRequestTest:
test_match_failure_with_invalid_ssid_pattern
Test: atest android.net.wifi

Change-Id: I38d154bd0a5685fcc38de891256a8e1d4b8cfbb5
2020-04-07 06:45:46 +00:00
Hongwei Wang
5b8c53ff00 Merge "Update bounds on shelf/ime adjustment during transition" into rvc-dev 2020-04-07 05:06:19 +00:00
Kevin Han
e9ac470f01 Move row check to requestPipeline instead of start
When aborting the state happens before the row check, it is possible to
abort the row inflation task since we use entry.abortTask() as the
underlying abortStage implementation. This CL moves the check to
requestPipeline before the abortStage call.

Bug: 153295369
Test: Call phone. See notification at top
Change-Id: Ic48c2051f3d3aa655496b19530e7e055708afe14
2020-04-06 21:42:43 -07:00
Paul Hu
bc60cca4dd Merge "Fix EntitlementManager issues" into rvc-dev 2020-04-07 04:37:30 +00:00
Mark Chien
744593b28e Add IPv6TetheringCoordinator unit test
Bug: 148636687
Test: atest IPv6TetheringCoordinatorTest

Change-Id: I1ba30bb524cbc0cc2782ce1702f9889c0d8a7576
Merged-In: I939323ce09adb9c66b1e2b83d58b0f892aa8f011
(cherry picked from commit 368c56dd7133d292c5f3ab5942016bb4dd1fbc88)
2020-04-07 04:33:24 +00:00