- This case still shouldn't ever happen, but we're still
getting crashes. It looks like the call to wrapHardwareBuffer
will always create a hw buffer even if the graphic buffer
is null, and the internal call to wrap the hw buffer may
not have the flags if a null buffer is provided.
Bug: 157562905
Test: Haven't been able to reproduce
Change-Id: Ia61809a4dc53317139446d099cfa262c095d2aea
Merged-In: Ia61809a4dc53317139446d099cfa262c095d2aea
- This case still shouldn't ever happen, but we're still
getting crashes. It looks like the call to wrapHardwareBuffer
will always create a hw buffer even if the graphic buffer
is null, and the internal call to wrap the hw buffer may
not have the flags if a null buffer is provided.
Bug: 157562905
Test: Haven't been able to reproduce
Change-Id: Ia61809a4dc53317139446d099cfa262c095d2aea
- wrapHardwareBuffer will throw an illegal argument exception when
the buffer doesn't have this flag, but it's not clear how this
happens yet because all the buffers should be from surface flinger
snapshots...
Bug: 157562905
Test: Manual
Change-Id: I48be367d8aafb3e17f11a73a73432617a247c0dd
Merged-In: I48be367d8aafb3e17f11a73a73432617a247c0dd
- wrapHardwareBuffer will throw an illegal argument exception when
the buffer doesn't have this flag, but it's not clear how this
happens yet because all the buffers should be from surface flinger
snapshots...
Bug: 157562905
Test: Manual
Change-Id: I48be367d8aafb3e17f11a73a73432617a247c0dd
eEarlyWakeup flag is used as a hint to SurfaceFlinger to adjust its
offsets so it can wakeup earlier and have sufficient time to compose
more complex scenes.
This flag has been replaced with explicit start and stop flags which
ensure the SurfaceFlinger offsets remain consistent during animation.
Bug: 158127834
Test: go/wm-smoke
Test: systrace to verify new tracepoint and offset behavior
Change-Id: Ib9c35c01a6bf02f88ec7cb1778e01909bd2f9055
Align animation and touch on vsync-sf to reduce jank
Bug: 157470918
Test: Enter PiP and move it
Test: atest PipAnimationControllerTest
Change-Id: I75506bb87a5e5b9a4d2f94c0a92e0a3fa25e060f
Bug: 154080211
Test: make and install
Test: manual disable one handed mode and swipe down to trigger
Test: verified the gesture works even outside of home page
Change-Id: I503224685d229bf45a998afdb1db836342f48b58
When passing a screenshot from Launcher to Sysui it should be passed
as a hardware buffer inside a bundle to avoid copying the underlying pixels.
Change also adds userid and component when a screenshot is passed.
Bug: 157380566
Bug: 156757117
Test: local
Change-Id: I531f1d1a41d179a257fe7202b68a6d1a78cc0f79
Launcher needs to distinguish display changes
that result naturally vs apps that launch
in a fixed portrait/landscape rotation during
the quickstep gesture.This callback helps anticipate
if a subseqent onDisplayChanged() will
have resulted from a natural rotation or not.
Bug: 154580671
Change-Id: I59ee7985a9f367e8fc5826c08476c1a25d1426b0
The gesture input monitor is to detect system gesture when user swipe on
the navigation bar or the edge, that should be unregistered after
the process (ex. launcher) is killed.
This could solve two problems:
1. InputChannel.dispose function didn't clear the native InputChannel
reference until the 'finalize' function called, clear it in dispose.
2. We use a Bundle object to communicate systemui and launcher, but the
PARCELABLE_WRITE_RETURN_VALUE flag can't be applied when write the
parcelable value, change InputMonitorCompat to implement Parceable and
apply flag when return via binder call.
Bug: 142581626
Test: kill launcher process, dumpsys input
Change-Id: Iaff774e96c58f00a26b7bedb809a0fb951862786
ag/11495551 introduce the bit # located at 15
public static final int SYSUI_STATE_GLOBAL_ACTIONS_SHOWING = 1 << 15
Due to one handed feature do not merged in rvc-dev
We should align the order on master branch
Test: make
Bug: 155499313
Change-Id: I6bad6faf3b1cf1d3105a23c121375cceafa91ed0