Tony Wickham
e78a70ba83
Send a notification when there's an uncaught exception
...
Guarded by FeatureFlag.NOTIFIY_CRASHES and IS_DEBUG_DEVICE
Test: Add a crash in the code, ensure a notification is posted
and can share the stack trace
Change-Id: I828cca3a99debf62f492960eb3cdc699cc0d7f9a
2021-04-05 15:18:12 -07:00
Samuel Fufa
2043f2009f
[Hotseat] Don't show hotseat edu in tests
...
Bug: 180972179
Test: presubmit
Change-Id: I2e82c0c90804d0149717ebdcd83fdac9c822ce7d
2021-04-05 16:49:47 -05:00
Andy Wickham
747579cffe
Merge "Updates OptionsPopupView to allow non-resource strings/icons." into sc-dev am: dd2b8b6f2e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14069304
Change-Id: If0a4cd0d930f9ee232ecc530c87e7f52d7b891bb
2021-04-05 21:39:42 +00:00
Zak Cohen
ae66cfafdc
Merge "Overview - add the ability to color scrim task views." into sc-dev am: 7ec7c22b07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066161
Change-Id: If4f57818c47124979f2048482aac94d553525151
2021-04-05 21:39:29 +00:00
Samuel Fufa
bdfdc49aa1
[Search][Motion] Normal<->AllApps transition revamp am: ee9aff9b5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13900476
Change-Id: Ic99797dde1eea62b7b20d9dc337c76fb54c1d252
2021-04-05 21:39:12 +00:00
Andy Wickham
79bb095504
Merge "Updates OptionsPopupView to allow non-resource strings/icons." into sc-dev am: dd2b8b6f2e
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14069304
Change-Id: Ice9dfa8bada21f5248d22f1f5124a316b21122f0
2021-04-05 21:38:03 +00:00
Zak Cohen
326ac3b06b
Merge "Overview - add the ability to color scrim task views." into sc-dev am: 7ec7c22b07
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066161
Change-Id: Ib099cef7e9f26b77e161c0b8cf1f58a6223bd6c2
2021-04-05 21:37:16 +00:00
Samuel Fufa
185253e2d5
[Search][Motion] Normal<->AllApps transition revamp am: ee9aff9b5b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13900476
Change-Id: I76a17e05879a7309d2005b6c76a0d64ce196acc4
2021-04-05 21:36:24 +00:00
Andy Wickham
dd2b8b6f2e
Merge "Updates OptionsPopupView to allow non-resource strings/icons." into sc-dev
2021-04-05 21:24:50 +00:00
Zak Cohen
7ec7c22b07
Merge "Overview - add the ability to color scrim task views." into sc-dev
2021-04-05 21:05:25 +00:00
Jon Miranda
71b954a257
Update device padding to allocate more space to workspaceBottomPAdding.
...
Bug: 175329686
Test: verify using DeviceProfile dump
Change-Id: I7054a49bf33e2c44bd1886a88dbed75c6807ab37
2021-04-05 16:59:15 -04:00
Vinit Nayak
e3f7d0d1b4
Add split placeholder view above OverviewScrim
...
Only show single split option for landscape and
seascape overview menu options.
Bug: 181705607
Change-Id: I577fbaed41b5debd007c953851ec2056988057d9
2021-04-05 12:41:06 -07:00
Sreyas
8a9cc9689a
Shared element transition between image and sharesheet.
...
Bug: 182373655
Test: Manual
Change-Id: I6f5abffa0c4911d939ba45476fe1301d65b840cf
2021-04-05 19:15:55 +00:00
Samuel Fufa
ee9aff9b5b
[Search][Motion] Normal<->AllApps transition revamp
...
Preview video attached to BR
Key changes:
- SearchUiManager#getScrollRangeDelta is removed. AllApps initial vertical offset is now controlled by deviceProfile.allAppsOpenVerticalTranslate.
- ShelfScrimView is renamed to AllAppsScrimView. Scrim no longer does vertical translate with AllApps open. Shelf/overview related code removed.
- Scrim and AllApps content transition are animated with different interpolators. Scrim color is a blend of accentColor and allAppsScrim with proportion determined by progress*TINT_DECAY_MULTIPLIER
Bug: 183001675
Test: Manual
Change-Id: Id6bde7ee65c55c83c2973fe41f458b9364d39ecd
2021-04-05 13:32:51 -05:00
Zak Cohen
ec4407b4ef
Overview - add the ability to color scrim task views.
...
Bug: 184202238
Test: local build and flash
Change-Id: If700cb6dffc3966fe860c40d98d40a5899c236e4
2021-04-05 11:17:02 -07:00
Thiru Ramasamy
f60b80362b
Merge "[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event." into sc-dev am: 9efbf6f39b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066162
Change-Id: Ibc7867d125809b49db6d5e08b14e0d77e0fb94dd
2021-04-05 17:55:39 +00:00
Thiru Ramasamy
4ffec25707
Merge "[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event." into sc-dev am: 9efbf6f39b
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066162
Change-Id: I7977775beeea1b9f08987bc31d7e356cfbd2974f
2021-04-05 17:55:28 +00:00
Thiru Ramasamy
9efbf6f39b
Merge "[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event." into sc-dev
2021-04-05 17:01:27 +00:00
android-build-team Robot
1a5c6c5252
Snap for 7257099 from 11d7d34f0d to sc-v2-release
...
Change-Id: I92d600d1489a8f329853d47f974663c9f57bb756
2021-04-03 23:08:16 +00:00
android-build-team Robot
f77f715642
Snap for 7257099 from 11d7d34f0d to sc-release
...
Change-Id: If7bfcaf4a5c67e9c95c8ee6471c868b9eab4b0aa
2021-04-03 23:07:55 +00:00
android-build-team Robot
5e21167b30
Snap for 7256110 from 5bd9ba2a80 to sc-v2-release
...
Change-Id: I87b18fa1fcd702bc7fa9a8e25671d170aaea76a4
2021-04-03 03:07:41 +00:00
android-build-team Robot
266495f64c
Snap for 7256110 from 5bd9ba2a80 to sc-release
...
Change-Id: I35f64d61968f5845d11290fea8467fc29213e92b
2021-04-03 03:07:35 +00:00
Sunny Goyal
43ace8acbc
Removing unnessary resource split in overview am: 11d7d34f0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066159
Change-Id: I47706089534859c8ac0a59b92d5eaf434347ab82
2021-04-03 00:53:48 +00:00
Sunny Goyal
0b2ca30014
Removing unnessary resource split in overview am: 11d7d34f0d
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066159
Change-Id: Ia22fd53a016cb1c914aa152c5f122f17afa1d18d
2021-04-03 00:53:32 +00:00
thiruram
0eabc781b1
[AA+] Fix missing InstanceId for LAUNCHER_ALLAPPS_CLOSE_DOWN event.
...
Before: https://screenshot.googleplex.com/8ZYxhujUR3amgmF.png
After: https://screenshot.googleplex.com/AZ7PExbBhGW2pAC.png
Bug: 178562918
Test: Manual
Change-Id: Id0bc54049e3a13cd53aaa37d0acee27ec7433fab
2021-04-02 14:34:26 -07:00
Sunny Goyal
11d7d34f0d
Removing unnessary resource split in overview
...
Bug: 184169818
Test: Presubmit
Change-Id: Iff5a8510be337472f05acb5629712ec088361471
2021-04-02 11:43:29 -07:00
Alex Chau
56c8261a95
Merge "Focus running task in overview grid" into sc-dev am: 5bd9ba2a80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973225
Change-Id: I0bfaff62db5830d4eacd01720682bff254f3a625
2021-04-02 04:23:42 +00:00
Alex Chau
d1c72d3116
Merge "Focus running task in overview grid" into sc-dev am: 5bd9ba2a80
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13973225
Change-Id: Ide467f1966ace3e8bfd72cae21e64d1324eda62e
2021-04-02 04:22:39 +00:00
Alex Chau
5bd9ba2a80
Merge "Focus running task in overview grid" into sc-dev
2021-04-02 03:57:58 +00:00
Andy Wickham
7d821d98f1
Updates OptionsPopupView to allow non-resource strings/icons.
...
This will be needed for Smartspace which gets its menu options
from AiAi.
Test: Hard-coded strings passed to Smartspace from the fake
data Launcher plugin. Also verified could access the menu
using TalkBack.
Bug: 184179894
Change-Id: I724c09db18085585c7a5224e32c0d8973acdab7c
2021-04-01 18:27:20 -07:00
android-build-team Robot
3b27b0503d
Snap for 7253016 from ed85ee6ca6 to sc-release
...
Change-Id: I7109f6fd08f4eed2c301daaae8baaf94aaa28a0f
2021-04-02 01:12:19 +00:00
android-build-team Robot
2f6f6b8c8f
Snap for 7253016 from ed85ee6ca6 to sc-v2-release
...
Change-Id: I5fe0323c752962388817b791dbd5ac8c618e40ad
2021-04-02 01:08:00 +00:00
Jonathan Miranda
6de76253c0
Merge "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent." into sc-dev am: ed85ee6ca6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066641
Change-Id: I2aa2db56b4209247af17f41b2e29f22d8094ca63
2021-04-01 21:55:39 +00:00
Jonathan Miranda
4d787690bb
Merge "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent." into sc-dev am: ed85ee6ca6
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14066641
Change-Id: Iead81f86a994c029be9287f929773e89682a31c5
2021-04-01 21:54:49 +00:00
Jonathan Miranda
ed85ee6ca6
Merge "Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent." into sc-dev
2021-04-01 21:28:07 +00:00
TreeHugger Robot
3d89553964
Merge "Fixing notification dots settings not updated properly" into sc-dev am: 20efbbbb1c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056550
Change-Id: Ic54cc92472bb65425b5917cde011da38618f7283
2021-04-01 20:36:24 +00:00
Sunny Goyal
9f986c5fdf
Merge "Removing some unused classes" into sc-dev am: 7a5b6f868a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14053587
Change-Id: Ief3f4825d3ff0c056bae070942c6c8e9e7189921
2021-04-01 20:35:00 +00:00
TreeHugger Robot
72e6426a5c
Merge "Fixing notification dots settings not updated properly" into sc-dev am: 20efbbbb1c
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14056550
Change-Id: I37edb3687cc75426d5a91d20dc843ab719b64aea
2021-04-01 20:34:48 +00:00
Sunny Goyal
8924c1d84d
Merge "Removing some unused classes" into sc-dev am: 7a5b6f868a
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14053587
Change-Id: I3195c57057d7ea1202837dafec186e86a35d3c82
2021-04-01 20:33:09 +00:00
TreeHugger Robot
20efbbbb1c
Merge "Fixing notification dots settings not updated properly" into sc-dev
2021-04-01 20:14:34 +00:00
Sunny Goyal
7a5b6f868a
Merge "Removing some unused classes" into sc-dev
2021-04-01 20:11:14 +00:00
Jon Miranda
b62fba0d01
Set FLAG_IMMUTABLE flag on FirstScreenBroadcast PendingIntent.
...
Bug: 183927137
Test: restore phone and ensure broadcast is sent
Change-Id: I8d8e38a1aa6bdf13879d460cfa84cabe6c6bb1f2
2021-04-01 13:20:12 -04:00
Pierre Barbier de Reuille
c876ff4901
Merge "Prevent launcher crash when an App Widget is removed." into sc-dev am: 8c3f8d3f71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14063486
Change-Id: Ia809f793ccc156aaa58a1c1b73aa1b8c9a76e83a
2021-04-01 15:45:34 +00:00
Pierre Barbier de Reuille
b7a251aa25
Merge "Prevent launcher crash when an App Widget is removed." into sc-dev am: 8c3f8d3f71
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14063486
Change-Id: I315c2c459b9196523efe2b3667cb9f8e6112a132
2021-04-01 15:45:07 +00:00
Pierre Barbier de Reuille
8c3f8d3f71
Merge "Prevent launcher crash when an App Widget is removed." into sc-dev
2021-04-01 15:07:01 +00:00
Alex Chau
dfde4d96ea
Focus running task in overview grid
...
- calculateTaskSize now returns the Rect for focused task
- Introduced calculateGridTaskSize for non-focused task, and translate non-focused tasks to fit the grid
- As Task Rect is now vertically centered, removed ClearAllButton's grid vertical translation
- When ClearAllButton is not shown (e.g. quickswitch), make sure ClearAllButton's scroll won't be used when page snapping. This happens when page scrolls are translated so they're negative.
- Added back ActionsView when task is focused below the TaskView, which become invisible as you scroll
- In Modal state, move the ActionsView down so it won't cover the TaskView
Bug: 175939487
Test: manual
Change-Id: Idfa94a51f856418adc0503cf04211dcb4b1814fe
2021-04-01 14:52:25 +01:00
Pierre Barbier de Reuille
712a8bf004
Prevent launcher crash when an App Widget is removed.
...
If an App Widget with a scrollable element is removed, we may end up in
a situation where we try to draw the view directly on a canvas while the
it has already been detached from the workspace. This can crash as some
of the drawing the scroll indicators require the view to be attached.
In general, we should never draw a view by calling the draw method
directly, even more so when the view is detached: the behavior is
undefined as the method expects the canvas to be properly set up, and it
is not. A crash can therefore be expected. This patch should avoid
crashing the launcher until we stop doing that altogether.
Fix: 183386115
Test: Manally add a view with a preview layout
Test: Manually remove an app widget with a list view
Change-Id: I8e1aa581700a08d6747eab085199c2b293e0e3fb
2021-04-01 13:32:45 +01:00
TreeHugger Robot
44cd93345f
Merge "Move disabled test out" into sc-dev am: 8626706fae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14043347
Change-Id: I297ec4a6e0c295ff375b98bfdbf6e3801de0513f
2021-04-01 08:18:51 +00:00
TreeHugger Robot
361fcc1603
Merge "Move disabled test out" into sc-dev am: 8626706fae
...
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14043347
Change-Id: I48baeeb1cb5a95bba78d72a45a857c8a56de56ee
2021-04-01 08:18:28 +00:00
TreeHugger Robot
8626706fae
Merge "Move disabled test out" into sc-dev
2021-04-01 07:37:13 +00:00