Commit Graph

470072 Commits

Author SHA1 Message Date
Jorim Jaggi
784e765ac0 Change visibility check to WC.isVisible
...in order to closer match our mental model of what we consider
a window to be visible.

Bug: 118118435
Test: adb shell dumpsys window visible while status bar hidden
Change-Id: I4247eb2d52ddbd07c38824300965d7499b99848f
2020-03-10 00:27:05 +00:00
Evan Rosky
dc8feb4065 Merge changes Ifcac72f0,I68f1b47e into rvc-dev
* changes:
  Don't apply ime adjustments/dims if split is not active
  Some clean-up of divider code in preparation for bugfixes
2020-03-10 00:08:27 +00:00
Wale Ogunwale
d46afa19e4 Merge "Remove majority of WM team from AM OWNERs file" into rvc-dev 2020-03-10 00:00:30 +00:00
Wale Ogunwale
b44a6af702 Remove majority of WM team from AM OWNERs file
Our code no longer lives in that package and eng. prod. team is
spamming folks with test failures because we are listed in the
OWNERs file.

Bug: 0
Test: N/A
Change-Id: I68b200d4de6fcfbaab218325fd0e19353d9ba611
2020-03-09 23:59:51 +00:00
Shu Chen
45b08852ad Merge "Unifies the finger-to-cursor distance between drag cursor and drag handle." into rvc-dev 2020-03-09 23:46:42 +00:00
Jacky Kao
b73559eee0 Merge "Fix flaky issue" into rvc-dev 2020-03-09 23:46:16 +00:00
Josh Tsuji
927b682413 Merge "Fix errors in comments." into rvc-dev 2020-03-09 23:26:46 +00:00
Joshua Tsuji
f5c6a9c82f Fix errors in comments.
(also so the docs are up to date)

Test: atest SystemUITests
Bug: 151107523
Change-Id: I2c2e7c4c41f9718b236735024ab466b0020fd4dd
2020-03-09 23:26:32 +00:00
Shuo Qian
e171bca393 Merge "API Council Feedback - Override EmergencyNumberDB File API" into rvc-dev 2020-03-09 23:17:44 +00:00
Bill Yi
54df41a881 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-09 22:59:15 +00:00
Brad Ebinger
1a72c04a67 Merge "API Fix: Remove 200 from PUBLISH_STATE_OK" into rvc-dev 2020-03-09 22:52:46 +00:00
Brad Ebinger
1084c52acf Merge "API fix: Rename and clarify ProvisioningManager constants" into rvc-dev 2020-03-09 22:51:53 +00:00
Jeff Sharkey
469263a457 Merge "More CTS for APIs used by Mainline." into rvc-dev 2020-03-09 22:44:08 +00:00
TreeHugger Robot
0a4ed3ec83 Merge "Import translations. DO NOT MERGE" into rvc-dev 2020-03-09 22:39:35 +00:00
TreeHugger Robot
410b854a84 Merge "API Review: Clarify deprecated docs and rethrow from system server" into rvc-dev 2020-03-09 22:34:33 +00:00
Hai Shalom
d10fd78082 Merge "Fix WPA3 Suite-B parameters in WifiConfiguration#setSecurityParams" into rvc-dev 2020-03-09 22:24:57 +00:00
Evan Rosky
ee94e8d989 Don't apply ime adjustments/dims if split is not active
Bug: 151053107
Test: Open IME on lockscreen (password) and see that there is
      no dim.
Change-Id: Ifcac72f0fe5a59b4b1de2a696281ea2c76b3e9b5
2020-03-09 15:18:52 -07:00
TreeHugger Robot
3a68e2d0de Merge "Change setter methods in the FillResponse builder to @NonNull" into rvc-dev 2020-03-09 22:12:30 +00:00
TreeHugger Robot
941e815aab Merge changes I696e3c5d,Iea7a5610,If627e613 into rvc-dev
* changes:
  update javadoc for InstallationFile
  fix error message
  remove incremental.check_loader
2020-03-09 21:47:43 +00:00
TreeHugger Robot
aed5eaa89c Merge "Allow overriding disabled changes in final release." into rvc-dev 2020-03-09 21:43:56 +00:00
Rob Carr
c2adc8d64c Merge "WindowManager: Avoid reparenting BLAST Surface in reparentChildren" into rvc-dev 2020-03-09 21:41:35 +00:00
Sudheer Shanka
7106cb4737 Merge "Add hidden APIs to query and delete shared blobs." into rvc-dev 2020-03-09 21:38:44 +00:00
TreeHugger Robot
a3a2955807 Merge "Identity Credential: Apply changes identified in API review." into rvc-dev 2020-03-09 21:36:28 +00:00
TreeHugger Robot
e42dc4907b Merge "Fix issues with Bubbles+IME." into rvc-dev 2020-03-09 21:04:01 +00:00
Jing Ji
dc0e2854c5 Merge "Do not use the global AMS lock in AppExitInfoTracker" into rvc-dev 2020-03-09 21:00:30 +00:00
TreeHugger Robot
672e0e80ba Merge "InsetController: Release leashes from RenderThread" into rvc-dev 2020-03-09 20:53:47 +00:00
TreeHugger Robot
1667d235ea Merge "Controls - Remove support for mock" into rvc-dev 2020-03-09 20:36:55 +00:00
TreeHugger Robot
78590f3571 Merge "Remove unnecessary !! to fix a Kotlin warning." into rvc-dev 2020-03-09 20:34:15 +00:00
TreeHugger Robot
ab3f32b346 Merge "Revert "Create interface for NotifInterruptStateProvider"" into rvc-dev 2020-03-09 20:25:28 +00:00
Feng Cao
a355711adc Change setter methods in the FillResponse builder to @NonNull
* This is to incorporate the API council feedback at b/148107416
* This is made possible by the new DataClass codegen version 15

Test: build
Bug: 148107416

Change-Id: I8adaf45a64bc08e73988d61fba56430f2b49f747
2020-03-09 13:22:45 -07:00
Jeff Sharkey
9ed18340ca More CTS for APIs used by Mainline.
Bug: 150641862, 150641715, 150641138, 150640123
Test: atest cts/tests/tests/content/src/android/content/cts/ContentResolverTest.java
Test: atest cts/tests/tests/os/src/android/os/cts/BinderTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/DocumentsContractTest.java
Test: atest cts/tests/tests/provider/src/android/provider/cts/media/MediaStoreTest.java
Change-Id: I6f9ae1dcffd79fd6c422962d9ca64d4b98841766
2020-03-09 20:12:55 +00:00
Tim Murray
fb2441b808 Merge "freezer: unfreeze upon creation of WPRI binding" into rvc-dev 2020-03-09 19:57:47 +00:00
Gavin Corkery
d70fa94a0d Merge "Add test for ExplicitHealthCheckService" into rvc-dev 2020-03-09 19:57:05 +00:00
atrost
4f5949f5ba Allow overriding disabled changes in final release.
Since disabled changes are disabled by default, our policy should allow
opting in to them in the final release.
Add toString to OverrideAllowedState for easier test debugging.

Test: atest com.android.server.compat.OverrideValidatorImplTest
Bug: 144552011
Change-Id: Iff01ee44d30d3e5703a980cddaf1b38435756c3c
2020-03-09 19:47:05 +00:00
TreeHugger Robot
a8664f8e02 Merge "Add null check for status bar transitions" into rvc-dev 2020-03-09 19:36:45 +00:00
David Zeuthen
d50b281a32 Identity Credential: Apply changes identified in API review.
Bug: 150817385
Test: atest android.security.identity.cts
Merged-In: I4e005fa7a81ef363a80278224bb706441dad2241
Change-Id: I25e09df09e8a56dc7f639b2aa4636af0166d5050
2020-03-09 15:32:48 -04:00
TreeHugger Robot
4babdf879d Merge "Fix issue with resting stack position." into rvc-dev 2020-03-09 19:16:35 +00:00
Hai Shalom
37e10fd161 Fix WPA3 Suite-B parameters in WifiConfiguration#setSecurityParams
Add missing key management setup of IEEE8021X and WPA_EAP in
WifiConfiguration#setSecurityParams.

Bug: 151087842
Test: atest WifiConfigurationTest
Change-Id: I3569853f229eb5d463a190c7cca6e4b6d7573bfe
2020-03-09 19:13:58 +00:00
Joshua Tsuji
ff6b0f2dbf Fix issues with Bubbles+IME.
1) System window inset bottom now includes IME height, so we were double counting the IME. Changed to stable inset (this is what PIP uses).
2) If you dismissed the stack while IME was up, we didn't tell the stack view when IME goes down since there were no bubbles. This meant you couldn't place bubbles where the IME used to be.
3) Flyout wasn't animating with the stack when avoiding IME. Changed to animate the flyout.

Test: 1) Open IME, observe you can drag bubbles in the expected locations
Test: 2) Dismiss bubble stack with IME up, close IME, observe you can drag bubbles where the IME used to be.
Test: 3) Move stack to bottom of screen, add new bubble and quickly open IME, observe flyout animates up, close IME, observe flyout animates back down.
Fixes: 141780462
Change-Id: Ied1d6da1edf946ca338bd908e52a3863c90ffd5a
2020-03-09 14:55:23 -04:00
Aran Ink
61278391c5 Merge "Scroll wallet and controls under power menu." into rvc-dev 2020-03-09 18:49:19 +00:00
Rob Carr
521e363a0f InsetController: Release leashes from RenderThread
We handle changes to the leashes from the UI thread, but use
the same SurfaceControl wrapper object from the RenderThread with
SyncRtSurfaceTransactionApplier. This means that at the time
we release a SurfaceControl from the UI thread we might have already
scheduled a SyncRtSurfaceTransactionApplier to use it, and actually
that could be in the process of running, leading to racy access and
crashes. To fix this we release the SurfaceControl from the RenderThread
so that it happens behind all existing operations.

Bug: 151086678
Test: Existing tests pass.
Change-Id: I2308d1c64f3f368c32587f99ddfb9e05955f821f
2020-03-09 11:44:08 -07:00
Matt Pietal
fec10faf52 Controls - Remove support for mock
Not needed any longer

Bug: 151068458
Test: manual
Change-Id: I29efe09b759a82c64fcb8f0d2d48bbf54aee4396
2020-03-09 14:42:46 -04:00
TreeHugger Robot
3759b4ce9d Merge "Only grant visibility to result reciever" into rvc-dev 2020-03-09 18:33:40 +00:00
Jing Ji
cd180980c4 Do not use the global AMS lock in AppExitInfoTracker
It could be called with global WMS lock held.

Bug: 150770486
Test: atest FlickerTests
Test: atest ApplicationExitInfoTest
Test: atest CtsAppExitTestCases:ActivityManagerAppExitInfoTest
Change-Id: Ic94fdbf4f8718245f5b0f25c41a2596a16841b0e
2020-03-09 11:27:51 -07:00
Sudheer Shanka
130d79cc8b Add hidden APIs to query and delete shared blobs.
Bug: 150804006
Test: atest --test-mapping apex/blobstore
Change-Id: Ia445715879c1b6ec74c2a2ee9d2ff0eb1f4ee72b
2020-03-09 11:05:53 -07:00
Evan Rosky
877739b3c3 Some clean-up of divider code in preparation for bugfixes
Made an actual class for the imecontroller in divider to
prepare for some more complicated interactions. Also consolidated
the minimize/resizability update logic for the same reason.

Bug: 150781668
Test: no change. things should work and tests pass
Change-Id: I68f1b47e092ed35311cbcd2878e4c271ac161a8c
2020-03-09 10:57:07 -07:00
Joshua Tsuji
2091c40481 Remove unnecessary !! to fix a Kotlin warning.
Test: atest SystemUITests
Fixes: 150201210
Change-Id: Iab8cffd80370d0327439ab71512ef461a6c3bfba
2020-03-09 17:54:54 +00:00
Ruchir Rastogi
70d266df9b Merge "Fix TODOs made during migration to libbinder_ndk" into rvc-dev 2020-03-09 17:54:19 +00:00
Rob Carr
698b684fdd WindowManager: Avoid reparenting BLAST Surface in reparentChildren
In cases where we are replacing the client surface transparently (e.g.
preserved surfaces), we call reparentChildren to move client added
Surfaces of the preserved Surface to the new Layer. However we are calling
this on the WSA layer, and so we end up reparenting the BLAST Surface
to the new layer. But since we always construct a new BLAST surface on the
WM side, we end up with 2! Rather than try and juggle about when we need
to or need not to construct a BLAST surface and reparenting them across
preservedSurfaces, it seemed either to just use the BLAST surface as the
root of the reparentChildren operation.

Bug: 150013915
Test: Enable BLAST, use split-screen
Change-Id: I1357200b41d183c2331b684ff636dd40a3b98168
2020-03-09 10:47:54 -07:00
TreeHugger Robot
592397e97a Merge "Scrub TelephonyRegistry of package names on user builds" into rvc-dev 2020-03-09 17:32:10 +00:00