Commit Graph
87505 Commits
Author SHA1 Message Date
Winson Chung 5f9b26b626 Prevent falling into OtherActivityInputConsumer when over lockscreen am: f6d75c98a9 am: 3c265823a8 am: cabcc513fd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21050546

Change-Id: I13f7dbf20f3978afca18d7e61c30799e5c3936f7
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 22:15:42 +00:00
Winson Chung 4a103d6629 Prevent falling into OtherActivityInputConsumer when over lockscreen am: f6d75c98a9 am: 3c265823a8 am: 5a0e805267
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21050546

Change-Id: Ic5cf7a38ccdc3b7f1cccf49d22379f6f33394015
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 22:14:53 +00:00
Winson Chung cabcc513fd Prevent falling into OtherActivityInputConsumer when over lockscreen am: f6d75c98a9 am: 3c265823a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21050546

Change-Id: I4d0bd01bb60280af62daf026a4a6139cbb8ec972
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 21:35:20 +00:00
Winson Chung 5a0e805267 Prevent falling into OtherActivityInputConsumer when over lockscreen am: f6d75c98a9 am: 3c265823a8
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21050546

Change-Id: I4911fe869454e6f003fae76f991b08abc83cd5f2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 21:33:32 +00:00
Winson Chung 3c265823a8 Prevent falling into OtherActivityInputConsumer when over lockscreen am: f6d75c98a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21050546

Change-Id: I3cdb8010e623e1fb2309b2657730d4fb7032a98a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 20:52:07 +00:00
Ats Jenk 7fd8899e54 Merge "Support desktop tasks in recents animation" into tm-qpr-dev am: de85ee9d23 am: e451c8fe9b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20929666

Change-Id: I70411aa4ae3a933fa8ca2f7e97aa5e799bdaf5e4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 19:30:53 +00:00
Andy Wickham ad753607d2 Fix header padding when search not enabled.
This was specifically affecting taskbar all apps with
floating search bar enabled. Header placement should not
be changed in that case.

Fix: 266440950
Test: Manual in taskbar and other all apps surfaces with and
without work profile, floating search flag on and off.

Change-Id: I2296a079cc15387a517c61e6b8a21fa0081cba23
2023-01-23 10:49:15 -08:00
Ats Jenk e451c8fe9b Merge "Support desktop tasks in recents animation" into tm-qpr-dev am: de85ee9d23
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20929666

Change-Id: I7579d92ef45544146b1a144c9911bd7d319d11de
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 18:42:39 +00:00
Ats Jenk de85ee9d23 Merge "Support desktop tasks in recents animation" into tm-qpr-dev 2023-01-23 18:14:53 +00:00
Stefan Andonian dbff8cda6c Fix crash in LauncherPreviewRenderer.
The LauncherPrefs INSTANCE variable needs to be registered with the
sandbox context used by the LauncherPreview. This will stop the crash
from occuring.

Bug: 266164372
Test: Verified that crash no longer occurs.
Change-Id: I12ef12d082b7afdb08b38321527d13c637e84f2f
2023-01-23 18:11:49 +00:00
Nicolò Mazzucato 2436c5a512 Merge "Fix CUJ_RECENTS_SCROLLING" into tm-qpr-dev am: 8995043d16 am: 28c666a02a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21057924

Change-Id: I3bfe4b433e0fdb13ce99c2b752635528f4dda862
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 17:20:46 +00:00
Nicolò Mazzucato 28c666a02a Merge "Fix CUJ_RECENTS_SCROLLING" into tm-qpr-dev am: 8995043d16
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21057924

Change-Id: Ia8a9935f79dba63dece56a738ab76e40da568a05
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-23 16:56:42 +00:00
Bill Yi dbf107a48c Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I81de61faa1c95a7b7ca08b3fcdcbc89c3510b238
2023-01-23 08:44:23 -08:00
Bill Yi b699e80966 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I505f4a653d3722ace511a1bdae2396ba169efb90
2023-01-23 08:43:51 -08:00
Bill Yi 3c65bf37cc Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: Idbc01117ecff8d5dd1f950039a6371db6465f0a0
2023-01-23 08:42:37 -08:00
Bill Yi 59f7368315 Import translations. DO NOT MERGE ANYWHERE
Auto-generated-cl: translation import
Change-Id: I4fb3882dff38c725d5718bf7f5477605afb7a45c
2023-01-23 08:42:04 -08:00
Nicolò Mazzucato 8995043d16 Merge "Fix CUJ_RECENTS_SCROLLING" into tm-qpr-dev 2023-01-23 16:21:44 +00:00
Goooler 43b263ce89 Remove unused res under lawn dir (#3279)
Before:
```shell
warn: removing resource app.lawnchair:string/action_upload without required default value.
warn: removing resource app.lawnchair:string/adaptive_icons without required default value.
warn: removing resource app.lawnchair:string/allow_empty_pages_label without required default value.
warn: removing resource app.lawnchair:string/app_title_label without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_right_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_complete without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_complete_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_right_edge without required default value.
warn: removing resource app.lawnchair:string/clear_all_as_action_label without required default value.
warn: removing resource app.lawnchair:string/done without required default value.
warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_done without required default value.
warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_next without required default value.
warn: removing resource app.lawnchair:string/home_gesture_feedback_complete without required default value.
warn: removing resource app.lawnchair:string/home_screen_columns without required default value.
warn: removing resource app.lawnchair:string/home_screen_rows without required default value.
warn: removing resource app.lawnchair:string/hotseat_qsb_label without required default value.
warn: removing resource app.lawnchair:string/kshitij_description without required default value.
warn: removing resource app.lawnchair:string/overview_gesture_feedback_complete without required default value.
warn: removing resource app.lawnchair:string/patryk_description without required default value.
warn: removing resource app.lawnchair:string/smart_space_enable without required default value.
warn: removing resource app.lawnchair:string/workspace_dt2s without required default value.
```

After:
```shell
warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_cancelled_right_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_complete without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_complete_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_left_edge without required default value.
warn: removing resource app.lawnchair:string/back_gesture_feedback_swipe_too_far_from_right_edge without required default value.
warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_done without required default value.
warn: removing resource app.lawnchair:string/gesture_tutorial_action_button_label_next without required default value.
warn: removing resource app.lawnchair:string/home_gesture_feedback_complete without required default value.
warn: removing resource app.lawnchair:string/overview_gesture_feedback_complete without required default value.
```
2023-01-23 14:06:39 +08:00
Android Build Coastguard Worker 48df37dea6 Snap for 9516552 from 98a2510a48 to udc-release
Change-Id: Ibcb7c009fd5402efa3f8bbe90624214b8d3489c6
2023-01-23 00:27:17 +00:00
Evan Rosky af55007a17 Only interrupt taskbar state during gesture.
We only want to prevent updating taskbar stash state during
the swipe-to-overview gesture. Previously, we were blocking all
resumes into a "non-aligned-with-hotseat" state to prevent the
taskbar from hiding until the gesture completed. This, however,
also selected for situations where the launcher is resumed
directly into Overview outside of a transition (which is
triggered by some Tapl tests).

This narrows the check to only when resuming into a non-interactive
state (which basically just selects for BackgroundApp state).

Bug: 266246618
Test: TaplTestsQuickstep on a device with taskbar
Change-Id: I414ba7384f4ca3901211855b26c6c200319a2996
2023-01-22 10:05:35 -08:00
Sunny Goyal a992ac9e8d Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places

Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
Merged-In: Ib410e5bf02773cefde5bf0a0a1f2f1c108718d24
2023-01-22 05:24:48 +00:00
Goooler 9898be55c4 Monir Kotlin cleanups (#3278)
* PreferenceManager2 private constructor

* More data objects
https://kotlinlang.org/docs/object-declarations.html#data-objects

* Remove assertion

* Suppress LeakingThis

* CustomTextView extends AppCompatTextView

* More private fields

* Suppress LiftReturnOrAssignment

* Revert "More data objects"
The feature "data objects" is only available since language version 1.9

* Revert private previewMode
2023-01-22 13:06:22 +08:00
TreeHugger Robot 98a2510a48 Merge "Moving all intent receiver register calls to a single place" 2023-01-22 01:33:25 +00:00
Android Build Coastguard Worker 2f5b541347 Snap for 9515499 from 2cd37fb6fe to udc-release
Change-Id: I1c8132b7d9fdc221b63bd87cdf296db4ac4fd250
2023-01-22 00:26:19 +00:00
Brian Isganitis 9e14c53278 Merge "Add loopable EDU lottie files and convert to light theme manually." into tm-qpr-dev am: b28a810d55 am: 773c966da6
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20992190

Change-Id: Ieb39ebc454c38b3208f07890ac35d4ab17306771
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-22 00:20:24 +00:00
Crowdin Bot fd7b733437 New Crowdin translations by Github Action 2023-01-22 03:49:43 +03:30
Brian Isganitis 773c966da6 Merge "Add loopable EDU lottie files and convert to light theme manually." into tm-qpr-dev am: b28a810d55
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20992190

Change-Id: I03ab374ab4049dc4a2376794ca14d6a8ff3f4ff0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 23:34:45 +00:00
Brian Isganitis b28a810d55 Merge "Add loopable EDU lottie files and convert to light theme manually." into tm-qpr-dev 2023-01-21 23:05:43 +00:00
Goooler 5567c8b1c0 Cleanup BuildConfig field refs
* Remove redundant COMMIT_HASH field
* Remove Versioning
2023-01-21 19:54:35 +08:00
Goooler 8645aea709 Defer generateProtoTasks configuration
https://github.com/google/protobuf-gradle-plugin/commit/3f6e8a8ec88c422bbd43c19f80b27472b6b80e9e
2023-01-21 19:27:13 +08:00
Goooler 8581566081 Release apk with uploading mapping file (#3275)
We can easily retrace obfuscated stack traces with the mapping file.
2023-01-21 18:34:10 +08:00
Goooler 8a69921aa6 Prevent continuation twice resuming in BlankActivity (#3276) 2023-01-21 18:33:26 +08:00
TreeHugger Robot 2cd37fb6fe Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718 am: 4d7e4c4a8e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522

Change-Id: I70307a411262909945f44e7e3b58ff721ccc10d2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 09:02:06 +00:00
TreeHugger Robot 4d7e4c4a8e Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev am: 654f714718
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20795522

Change-Id: Ie43422c362b180ca2d1124b1d7bf514276da101d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-21 08:10:03 +00:00
Goooler 70fece5991 Rename QsbLayout to LawnQsbLayout (#3274) 2023-01-21 15:56:23 +08:00
Goooler e4dcb17c27 Always enable GoogleQsbContainerView if it is the current search widget (#3273) 2023-01-21 15:55:54 +08:00
TreeHugger Robot 654f714718 Merge "Implement initial transient Taskbar EDU tooltips." into tm-qpr-dev 2023-01-21 07:28:30 +00:00
Android Build Coastguard Worker 2572c6cc1b Snap for 9514456 from 66b9860080 to udc-release
Change-Id: I8e1bba18af688ef6697feba7d096ac073b88942b
2023-01-21 04:26:50 +00:00
Evan Rosky e0cfbc3475 Revert^8 "Enable Shell Transitions"
d9cc7d1eb1

Change-Id: Ic59c027f05e47eb9939c0c65d19892451fd4ae50
2023-01-21 02:20:39 +00:00
Evan Rosky feedb575b8 Merge "Revert^7 "Enable Shell Transitions"" 2023-01-21 02:18:16 +00:00
Sunny Goyal a1692a467f Moving all intent receiver register calls to a single place
This is eventually allow us to move all register to background thread
Also creating a single ScreenOn tracked which is used at multiple places

Bug: 264465756
Test: Verified on device
Change-Id: Ibadf9ca43218e578954420d97a733adfa0a94fc7
2023-01-20 23:50:00 +00:00
Brian Isganitis 4bcc9bc816 Add loopable EDU lottie files and convert to light theme manually.
These new assets are better at looping than the previous ones.

Followed go/sysui-illustration-eng to map from dark to light colors
programmatically. Handling the mapping in code is preferred over having
separate lottie assets for light and dark theme.

Test: Manual
Bug: 263157739
Change-Id: Ia3cd2a1e7d349188d182d796ba927f1c513d4716
2023-01-20 15:16:20 -08:00
Brian Isganitis b21ad2da8c Implement initial transient Taskbar EDU tooltips.
Since this tooltip looks and behaves differently than the existing EDU
sheet, it has its own view and controller implementations (I also may
have wanted to write some Kotlin).

To keep transient taskbar open while on the second EDU step, another
autohide suspend flag is defined. Additionally, special casing is added
to avoid hiding transient taskbar if autohiding is currently suspended.

Tooltips use the same assets as the bottom sheet for now, and are scaled
down to fit the tooltip dimensions.

Reset `Taskbar Education` in Developer Options to try EDU again.

[Demos]
- First: https://screenshot.googleplex.com/ASBeGvrb2EA5wEF.png
- Second: https://screenshot.googleplex.com/7fnfcTh9bMYezDc.png

Test: Manual
Test: Open app, see swipe-up tooltip.
Test: Swipe up to show transient taskbar, see features tooltip.
Bug: 263157739
Fix: 258460203
Change-Id: I473f5fccbae279db0614763b640da0a120b6b7f7
2023-01-20 15:16:12 -08:00
Evan Rosky d9cc7d1eb1 Revert^7 "Enable Shell Transitions"
039217e518

Change-Id: Id82874ee3c209bb024b131b4a427eba25a84cd20
2023-01-20 23:14:47 +00:00
Ats Jenk 9db95e89b2 Support desktop tasks in recents animation
Desktop tasks are using freeform windowing mode. Update recents
animation to support freeform tasks when desktop mode feature flag is
enabled.

Changes:
- set initial size for freeform tasks to be the size of the thumbnail
  instead of size of the screen
- support multiple individual remote animation targets when starting the
  recents animation

TODO:
- there are flickers when starting and ending the recents animation

Bug: 263264985
Test: swipe up when more than 1 desktop task is visible
Change-Id: I27ee02774281b3a433d779c0bb8825cdb6ea5457
2023-01-20 14:09:32 -08:00
Alex Chau 2d9692f63d Destroy taskbar if it's not present in DeviceProfile
Bug: 254119092
Test: manual
Change-Id: I9eb95cc90c92bf93d9220b05406d4589b2cb196f
2023-01-20 20:57:58 +00:00
Tracy Zhou 66b9860080 Merge "Revert "Update onOverviewShown interface to get signal of whethe..."" 2023-01-20 19:19:40 +00:00
Evan Rosky f805d1ee93 Merge "Revert^6 "Enable Shell Transitions"" 2023-01-20 18:27:11 +00:00
Alex Chau 51298a6b87 Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev am: 7e1144ee99 am: c79e576824
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20731930

Change-Id: I614bd9d11e98012b2ec17a525c4e501761d33675
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 16:20:17 +00:00
Alex Chau c79e576824 Merge "Fix IllegalStateException caused by trying to snap to destination before initalizing page scrolls." into tm-qpr-dev am: 7e1144ee99
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20731930

Change-Id: Ibaa0cad2b3ff673a5d2c83f189e28c4637694ae3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-20 15:44:42 +00:00