Set the root surface control transparent, and set the z order of the newly created child surface control to -1.
A new callback is needed to update root surface control in sync from Java side.
Bug: 186750329
Test: use latest APKs from Webview team, play a video, mini toolbar should be visible
Change-Id: I0b37ee8f83fd2b41ff4f2856dbadd31ff6170baf
Change the rerferene to java object from global reference to weak
reference.
Bug: 188555236
Test: check number of ViewRootImpl objects from Systrace
Change-Id: I52347b9efb211691826635d046259bc3c54b194f
* changes:
Animating when the qs boundary changes due to notification interactions
When swiping notifications it doesn't clip early anymore
Modified the way the notifications clip to the boundary
When dismissing notifications, the logic how the scrolling was adapted
wasn't updated yet, leading to accidental scrolls after dismisses.
Additionally, we're now animating these changes properly when the
boundary changes for these events.
Fixes: 188439802
Test: have a couple of notifications, scroll, dismiss the first notification, observe nice animation
Change-Id: Ic4faec910a7ca82fd283ab2053ddb4222668a161
Previously notifications started to clip before reaching
the edge. We're now changinging the flags to dismiss with
translation instead of clipping the contents.
This is change 1/2 as the notification container should
clip the notification now, which is especially noticeable
in split shade.
Bug: 181887261
Test: dismiss notifications, visually observe no clipping
Change-Id: I003b1486ce64dd127a90ca2d9f982230eba79f60
Previously the notification shade didn't clip at all to
the qs - notification boundary, which could lead to
content peaking outside of the boundary during dismissal
or other situations. We now clip to the boundary
using rounded rect clipping. This also allows us to
remove various complex clipping logic that was updating
the clipping on the top for individual notification views.
This also fixes some bugs on the split shade where the
notifications were wrongly clipped previously.
This is change 2/2 to improve the notification dismissal.
Fixes: 181887261
Test: atest SystemUITests
Merged-In: I1ebe777c50b85a500ecce22823d547c6d9c3c6d5
Change-Id: I1ebe777c50b85a500ecce22823d547c6d9c3c6d5
This CL ensures that we don't show the keyguard early when unlocking the
phone from the bouncer after swiping up on the lockscreen.
Bug: 191031464
Test: Manual, swipe up on lockscreen with PIN
Change-Id: Id7269189c857e1108a8e33074bb5abfd40437deb
We cannot promote the transition animation on Task's parent
when the task is in clearing task, in case the animation get
stuck when performing the opening task transition that behind it.
Fix: 176492094
Test: manual as issue steps in setup wizard:
1. complete initial setup without connection
2. finish the pre-deferred setup by setting up Wi-Fi connection
3. remove the Wi-Fi connection from settings page
4. launch deferred setup from notification
5. choose offline setup on Network settings page
6. complete deferred setup
7. observe the behaviour if the transition is janky when backing to home
Change-Id: I50fba3a7681c7d53e0caddf84315d6e6c76e9e92
- Adjust the frame size of the LottieView. We set the frame height
to 300dp and set the length of the short side of the screen to
the width of the frame. In this way, LottieView has a fixed size
to solve the problem of incorrect illustration spec.
- Set the importantForAccessibility value to noHideDescendants to
avoid the a11y issue.
Bug: 190807662
Test: robotest and see the UI.
Change-Id: Ib48f9c65e0dfbf36b7ebb70718fa5423c918a7a9
- Remove the system color part of the adaptive colors.
- Add a flag to disable the adaptive colors feature.
- Update the minSdkVersion to 28.
Fix: 191136169
Test: robotest and see the UI
Change-Id: Ia385055d24092d81960cfe4093c427b23f3f2b87
In the previous change ag/14776093, the window height fraction used
"windowHeightFraction = (float) mParams.y / mWindowHeight;". And it
causes the Y-position deviated after the rotation is changed.
To correct this, we used the draggable bounds to calculate the window
height fraction.
See b/189715285#comment3
Bug: 189715285
Test: atest MagnificationModeSwitchTest
Change-Id: I1adcea12f0a96c64c9c6e386dc2feb8e3a9ffcf3
ActionDisabledByAdminControllerFactory is also in frameworks/base,
and should take test mode into consideration.
Bug: 188847063
Test: atest ParentalControlsUtilsTest
Change-Id: I0195478606361aa8b6406376d96b2fc219d9cc4d
We need to store other things in the appsearch data dir other than what
Icing stores, such as the storage info cache.
Bug: 177685938
Bug: 181787682
Test: Presubmit
Change-Id: I903c34a2c891d617217d44f5126d0d31c8c6bf39