am: 21a06f23e6 -s ours
am skip reason: change_id I886b6536a0ef1c8d21f15ec7ff9fdb9784d5b865 with SHA1 89414e1ed5 is in history
Change-Id: Icb46e2a1eec04013f97d45fc453c5ce4b7a519df
CLs [1] introduces new recents animation cancelling mechanism with screenshot
previous task during task stack order change for supporting Quickstep LiveTile.
We don't want the normal animation canceling flow be disturbed by fail safe
animation canceling that makes the task bring to top unexpectedly.
Remove trigger flow when home key down & moving fail safe animation cancel
that only called when power key up without long pressing case.
[1]: I83504d578a17856623a53c04a7d3c54e5bcab5f4
Bug: 122593881
Test: manual, enabled LiveTile in Launcher dev options, swipe up to recents,
verify the task will bring to top only when power key-up.
Change-Id: I09e5daa293efcdaf46a4e3d11729898e1f5efde2
Keep EglImage/VkImage alive until the last SkImage object using
it is destroyed.
Fix memory leak with GL pipeline only, caused by destroying
EGLImage on the wrong thread.
Make sure cached SkImage dtor is invoked on RenderThread.
Bug: 128523183
Bug: 128688107
Test: Ran settings app, systrace and CTS
Change-Id: I32c14c7174a2a97e54fbfaa49dffb4e9a160f90d
* When IME appears, translate the expanded state + row of bubbles into
correct position
* Moves the logic to apply the forwarded insets into BubbleStackView;
also applies the insets after all the animation / translation
* Don't update the height of the expanded view when the IME is visible
(this causes config change which loses IME -- instead we'll update the
height when IME goes away
* Clears out the insets when the view goes away
What's left to do: if the expanded view is too big the top portion of
it gets shifted off screen, along with the header, this should actually
be clipped + header should be visible; this will come in follow up
Test: manual - have a bubble that uses IME, focus the IME
=> note the row of bubbles + expanded state animate up
- have multple bubbles of small, medium, large all that
focus the IME, expand and tap between them while focusing
the IME
=> make sure things move to the right places
- via BubbleSettings apk, toggle 'show bubbles at top', have
some very large bubbles that focus IME, tap between them
and focus IME, then tap between them without focusing
=> make sure the inset doesn't remain
- have a bubble that uses IME, open it + focus the IME, update
its height
=> note that the height doesn't change, once IME goes
away height is updated
Fixes: 128007159
Bug: 123544535
Change-Id: I8d613370d46e85f2779069f9c321e88f96a4ff36
We don't need the bitmap after we uploads it to texture so we nullify
the reference to get it can be gced.
We also need to release the graphic memory when user changes the wallpaper
or the graphic memory will increase dramatically.
Bug: 128897294
Test: Change wallpaper, observes android profiler
Change-Id: I207d67741e6a7643a13ba97fccdab355dd09e30c
Fixes: 128563724
Fixes: 128036182
Fixes: 123711017
Bug: 123874544
Test: swipe up from aod2, swipe down
Test: swipe up from aod2, let device sleep again
Test: go/sysui-bouncer-tests (a subset of them)
Change-Id: Ia399b9a944b48e5f4e3dfe7ec8359450cd2e0a30
This class is not used in framework.jar, only in services.jar.
Move it out of the framework so framework.jar can stop depending
on the NetworkStack stable AIDL interfaces.
This should really under com.android.server as well, but that's
a cross-project change to be done in another CL.
Test: m
Bug: 128804404
Change-Id: Ib2805f7fcc516a5f6989c252365d1c95b8042703
Merged-In: Ib2805f7fcc516a5f6989c252365d1c95b8042703
In its own change because it conflicts in internal master.
Test: m
Bug: 128804404
Change-Id: I74531ef11d504b232d4f377532d5e0812dbc88db
Merged-In: I74531ef11d504b232d4f377532d5e0812dbc88db