Lawnchair (Debug) bug report Dec 19, 2023 7:07:10 AM
version: 14 Dev (#171) (14)
commit: 577084d
build.brand: motorola
build.device: rhode
build.display: S1SRS32.38-132-15
build.fingerprint: motorola/rhode_g/rhode:12/S1SRS32.38-132-15/dac4a3-3e3fe:user/release-keys
build.hardware: qcom
build.id: S1SRS32.38-132-15
build.manufacturer: motorola
build.model: moto g52
build.security.level: 2023-09-01
build.product: rhode_g
build.type: user
version.codename: REL
version.incremental: dac4a3-3e3fe
version.release: 12
version.sdk_int: 31
display.density_dpi: 446
isRecentsEnabled: false
error: Uncaught exception
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.view.View.getScrollX()' on a null object reference
at com.android.launcher3.Utilities.mapCoordInSelfToDescendant(Utilities.java:335)
at com.android.launcher3.Workspace.updateIsBeingDraggedOnTouchDown(Workspace.java:1236)
at com.android.launcher3.PagedView.onInterceptTouchEvent(PagedView.java:1081)
at com.android.launcher3.Workspace.onInterceptTouchEvent(Workspace.java:1168)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2652)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2744)
at com.android.launcher3.views.BaseDragLayer.dispatchTouchEvent(BaseDragLayer.java:303)
at com.android.launcher3.dragndrop.DragLayer.dispatchTouchEvent(DragLayer.java:225)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2744)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2744)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2744)
at android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3120)
at android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2744)
at com.android.internal.policy.DecorView.superDispatchTouchEvent(DecorView.java:535)
at com.android.internal.policy.PhoneWindow.superDispatchTouchEvent(PhoneWindow.java:1925)
at android.app.Activity.dispatchTouchEvent(Activity.java:4298)
at com.android.launcher3.Launcher.dispatchTouchEvent(Launcher.java:2189)
at com.android.internal.policy.DecorView.dispatchTouchEvent(DecorView.java:493)
at android.view.View.dispatchPointerEvent(View.java:14884)
at android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent(ViewRootImpl.java:6595)
at android.view.ViewRootImpl$ViewPostImeInputStage.onProcess(ViewRootImpl.java:6396)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5874)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5931)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5897)
at android.view.ViewRootImpl$AsyncInputStage.forward(ViewRootImpl.java:6062)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5905)
at android.view.ViewRootImpl$AsyncInputStage.apply(ViewRootImpl.java:6119)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5878)
at android.view.ViewRootImpl$InputStage.onDeliverToNext(ViewRootImpl.java:5931)
at android.view.ViewRootImpl$InputStage.forward(ViewRootImpl.java:5897)
at android.view.ViewRootImpl$InputStage.apply(ViewRootImpl.java:5905)
at android.view.ViewRootImpl$InputStage.deliver(ViewRootImpl.java:5878)
at android.view.ViewRootImpl.deliverInputEvent(ViewRootImpl.java:8891)
at android.view.ViewRootImpl.doProcessInputEvents(ViewRootImpl.java:8807)
at android.view.ViewRootImpl.enqueueInputEvent(ViewRootImpl.java:8776)
at android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent(ViewRootImpl.java:9027)
at android.view.InputEventReceiver.dispatchInputEvent(InputEventReceiver.java:266)
at android.os.MessageQueue.nativePollOnce(Native Method)
at android.os.MessageQueue.next(MessageQueue.java:342)
at android.os.Looper.loopOnce(Looper.java:182)
at android.os.Looper.loop(Looper.java:357)
at android.app.ActivityThread.main(ActivityThread.java:8089)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1026)
Previously we were using any touch outside of the panel to move
the container, but we want to check this last, after checking if
the touch is near the scrollbar (in which case it should intercept
instead).
Test: Manual
Flag: N/A
Fix: 236661990
Change-Id: I518c546356d1f6c6cedf4b31fa621295dd090175
The array mTmpObjArray is not properly clean but ther is no need
for the array to be global since every time is used is provided
so a use of a local variable will make sure is never leaked.
Fix: 269163620
Test: the flake related to memory leak on testWorkspace should dissapear
Change-Id: I29fb3dd6419f621f2ccce9db2fc5ed86358f7516
- Renamed variables to make it more clear what they represent
- DeviceProfile will be source of truth for taskbar
sizes
Bug: 265144213
Test: phone, multi-display, tablet
Change-Id: Id9c19d15a65894fd7645e0f876a4b6527b713c34
Flag: ENABLE_TRANSIENT_TASKBAR=true
- Moved all touch-to-stash logic to new TaskbarStashViaTouchController
(handles both tap outside to stash instantly as well as swipe down
inside to stash after letting go)
- This is a TouchController on TaskbarDragLayer, so it intercepts
touches from TaskbarView before icons can be dragged during swipe down
Test: swipe up to invoke transient taskbar in an app, swipe down or
touch outside to stash
Flag: ENABLE_TRANSIENT_TASKBAR=true
Fixes: 246631710
Change-Id: I5cf64848bba34ad32fcc80a93fb4f79ebd2c10a7
Prior to this change, if taskbar is showing and we are cloing an app
that is visible in the taskbar, the taskbar view would immediately
disappear.
Now we will fade out the view until the animation is 33% complete,
at which point the 'space' will be clear for the FloatingIconView
to settle at its final location.
Bug: 273961611
Test: open app in hotseat
note that the taskbar view is gone immediately
have taskbar visible, close app that is shown in taskbar
note that the taskbar view fades out
Change-Id: I5589e2ce3033cfa19669d1bfaf568aef2a96015e
For apps that use AdaptiveIcon, we used to animate the foreground
drawable independently from the background. This is sometimes
perceived as jank so we remove the animation since it is very subtle
in the best case scenario.
Bug: 268026344
Test: open/close apps/folders that use AdaptiveIcons
Change-Id: I500bf56e04823757d511d909a93d3b30703249a1
TaskbarAllAppsSlideInView.onBackInvoked() can be triggered by ViewGroup.dispatchKeyEvent(event) with KEYCODE_BACK, in that case we should skip scale animation
Test: manual
Fix: b/272317866
Change-Id: I19468cfe4765de5276c479b0f7fa88ec0690bbfd
The bug was caused by a math problem. The extrat bottom offset should be
offset = (H / 0.9 - H) / 2
Fix: b/269393854
Test: manual
Change-Id: Ia4d6b3f2ecb53b82d6779cd385ce4d7ca3c16113
Bug: 246635237
Test: open app in hotseat
close app in hotseat
the 'matching' view in taskbar should be hidden
tested icon, predicted icon, folders in taskbar/hotseat
Change-Id: I74382480826afafe6ae58e78faf26fe10812e29b
This is achieved by instead creating an empty item info that only
specifies the splash type to be solid color.
Bug: 269343536
Test: manual
Change-Id: Ibf5c8f1c949e26af207b8c6e382f71677b9acc2d
1. setClipChildren(false) for WidgetFullSheet and content view during animation
2. setClipToOutline(true) for WidgetsRecyclerView and provide ViewOutlineProvider to expand bottom by 5% of height
3. Override calculateExtraLayoutSpace() for ScrollableLayoutManager
4. Manually modify AbstractSlideInView#mContent's background drawable during scale animation
bug: b/260956481
Test: manual
Change-Id: Ic391639de887cf4a70bc4965dc0b1fd9bc12dd2c
This ensures the scrollbar is not left in a bad state, in
particular if you close All Apps while still scrolling (e.g.
pressing the Home button while holding the scroll bar).
Fix: 267583704
Test: Manual
Change-Id: I0e159f8e5ed289bf1628f77eab1879743b5aea00
* Add popup menu group in home screen settings
* Add an option to switch system settings entry on pop-up menu
* Remove extra words in home_screen_lock_toggle_from_home_popup
Persistent taskbar background is always dark regardless of device theme,
so we should make the icon always light for now.
Test: Manual
Fix: 262837720
Change-Id: I8f66af874e07f68e1943245e9cd49c3b3107915f
* Consolidated init calls in SplitSelectStateController
* Also add support to launch from taskbar all apps
* Add logic in SplitSelectStateController to know whether
or not we need to dismiss existing TaskView vs relying
on mSplitHiddenTaskView null check
* Default click handling for SplitShortcut is to start
split selection mode
Bug: 251747761
Test: Initiated split from smart actions, thumbnail app
icon, home, taskbar in overview, all apps. Saw it choose
the latest thumbnail
Change-Id: Ib4f64e619c97615af458a19a9c0efd86c92979d9