Commit Graph

626 Commits

Author SHA1 Message Date
Stefan Andonian
df57fd822c Merge "Allow Binding the First Workspace Page before the Rest." into tm-qpr-dev 2023-03-13 20:54:03 +00:00
Himanshu Gupta
64fadf8fba Merge "Do not display clone apps in launcher work tab." into udc-dev 2023-03-13 17:56:27 +00:00
Charlie Anderson
beeffecc62 Merge "Revert "flip app shortcut popup design on for U"" into udc-dev 2023-03-13 16:50:35 +00:00
Charlie Anderson
5156b48f6c Revert "flip app shortcut popup design on for U"
This reverts commit 5d8489e71e.

Reason for revert: regression test failures b/273135788 b/272838823

Change-Id: I8b4747b8b714820648f7816f4b2ea962da5d332c
2023-03-13 15:27:52 +00:00
Tracy Zhou
c9ee0c15d3 Merge "Enable ENABLE_TRACKPAD_GESTURE for easy dogfooding" into udc-dev 2023-03-11 19:21:08 +00:00
Charlie Anderson
9abfa85900 Merge "flip app shortcut popup design on for U" into udc-dev 2023-03-10 21:53:08 +00:00
Tracy Zhou
f31dc5ccc0 Enable ENABLE_TRACKPAD_GESTURE for easy dogfooding
Will turn it off in all the U release branches (feature targeting U-QPR1)

Fixes: 271010401
Test: N/A
Change-Id: I25e8497cdc2828ddf5c2c660adfe64e1d5bea764
2023-03-10 20:51:43 +00:00
Brandon Dayauon
061cf0d4e9 Merge "Support two line text in AllApps/OnDeviceSearch w/ feature flag" into tm-qpr-dev am: 5ddc6ab4da am: e0bddb5b42
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/20898210

Change-Id: I097b55e72e2c07d75a45ff044f581b1f5d30af6c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-10 18:34:30 +00:00
Charlie Anderson
5d8489e71e flip app shortcut popup design on for U
Bug: 247880037
Test: N/A

Change-Id: I3c1410024bd4ffe13b436344de38b6018d4ce3f1
2023-03-10 15:25:44 +00:00
Brandon Dayauon
cf88ea1e62 Support two line text in AllApps/OnDeviceSearch w/ feature flag
Made separate feature flag for on device search
Add unit test to test twoLine string
- Unit tests for testing newStringThatShouldSupportTwoLineText() in BubbleTextView.java. This class tests a couple of strings
and uses the getLineCount() to determine if the test passes. Verifying with getLineCount() is sufficient since BubbleTextView can only be in one line or two lines,
and this is enough to ensure whether the string should be specifically wrapped onto the second line and to ensure truncation.

bug: 201388851
test: presubmit, ran locally on big and small device, before: https://screenshot.googleplex.com/3Q6pwveFDZqxDXL (ORIGINAL TWO LINE TEXT)
after:  https://screenshot.googleplex.com/7pkwUto6HGzMYoT

Change-Id: I93e6ed179e1081d5cdffc6db9c7ae34de8021c24
2023-03-09 15:13:04 -08:00
Brandon Dayauon
0a42db6576 Merge "Play original haptic when feature flag is off. Rename feature flag" into tm-qpr-dev am: c1e12fc150 am: 3f5e40eaae
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21896830

Change-Id: I7ac948353867df3b5bf9633fb5d9a0f34f95ec00
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-09 18:00:57 +00:00
Brandon Dayauon
dee687c33a Play original haptic when feature flag is off. Rename feature flag
- Remove the Utilities.atLeast check since it's no longer relevant as there is no new haptics being played
in the original haptic..

When FeatureFlag is off, the haptic for all apps and qsb is played in one place. So when
FeatureFlag is on, we need to isolate where the haptic call gets played so we disable calling it from two places
and play the haptics at the respective areas.
flag: ENABLE_PREMIUM_HAPTICS_ALL_APPS=false


bug: 270634265
test: Manual
Change-Id: I7b92c427e880b196130270ed9709cf1ea0e19e0a
2023-03-09 00:14:14 +00:00
Ankita Vyas
45ef9b6c01 Do not display clone apps in launcher work tab.
This change is only for dogfooding and will not be part of android release.
Guarded by feature flag.

Test: manual
Bug: 266177840
Change-Id: Iee416b43e0864b98f08149c46b7d011271ba8de6
2023-03-08 12:58:19 +00:00
Stefan Andonian
9abd8cbf14 Allow Binding the First Workspace Page before the Rest.
The way WorkspaceBinder is currently setup, any calls to
bindWorkspace will result in the entire workspace being bound
all at the same time. These edits change that. Now callers
like LoaderTask can bind the first workspace pages before the
rest by splitting the WorkspaceBinding into 3 methods that
need to be called in order, but can happen at a staggered cadence.

Bug: 251502424
Test: Loaded and bound the workspace properly.
Change-Id: I28fa721ea95dae2df03e27f600653ba5bebe3ef1
2023-03-08 04:23:43 +00:00
Sihua Ma
2bfa702163 Enable widget host listening in background
Bug: 270394384
Test: N/A
Change-Id: I951fac6e46f2f8492e24c13d44832e714812e93b
2023-03-07 03:22:13 +00:00
Sunny Goyal
dd971133d8 Merge "Adding support for overriding flag values in test" into tm-qpr-dev am: f450476c7a am: c2cc5c57c4
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21733882

Change-Id: I097c16c9e47a0dc341fe6c39896a432c9205746c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-07 00:07:23 +00:00
Sunny Goyal
b138ec9fc6 Adding support for overriding flag values in test
Bug: 270386012
Test: Verified on device
Change-Id: Ic1af9ca369c0cd2ec49d98875f7b97e90a0050ca
2023-03-03 09:29:42 -08:00
Sunny Goyal
4f4259c2c8 Merge "Restarting launcher if a flag changes" into tm-qpr-dev am: f4bead71ea am: 5d41fbc53a
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21118642

Change-Id: Id85e43de68c37f024f9c8be5223037c6ed486725
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 18:00:34 +00:00
Sunny Goyal
f4bead71ea Merge "Restarting launcher if a flag changes" into tm-qpr-dev 2023-03-02 16:23:45 +00:00
Sunny Goyal
e49504f858 Merge "Removing some usused features" into tm-qpr-dev am: fc45621b36 am: c615f883d5
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21675357

Change-Id: I6939e874e69e1172bccecb04468ef8a294195740
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-02 01:39:25 +00:00
Fengjiang Li
0785970ae6 Merge "[Predictive Back] Turn on feature for udc" into udc-dev 2023-03-01 20:56:53 +00:00
Fengjiang Li
f533ff350c [Predictive Back] Turn on feature for udc
Add feature flag and turn it on for U

Test: manual
Bug: b/264920023
Change-Id: I43d9c04b13b91ce0b0e53402a5c3b2f0e81272ff
2023-03-01 18:41:32 +00:00
Alex Chau
cbab01c721 Merge "Land ENABLE_TASKBAR_IN_OVERVIEW" into tm-qpr-dev am: 6a10a003d6 am: a1907c710e
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21538759

Change-Id: Ibf2a35e5d54d2938a00cb251ddb71656f6308207
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 18:19:32 +00:00
Sunny Goyal
0788fd792e Removing some usused features
Bug: 270386012
Test: Presubmit
Change-Id: Ica71109d43c42d9d0d5269520f7b7e72921f42a6
2023-03-01 09:51:24 -08:00
Alex Chau
6a10a003d6 Merge "Land ENABLE_TASKBAR_IN_OVERVIEW" into tm-qpr-dev 2023-03-01 17:13:35 +00:00
Liam, Lee Pong Lam
03fdb23ad5 Add feature flag for remove smartspace default date am: 237d663b70 am: bb243c385f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21532517

Change-Id: I511f4a649e4d75e1534cfd77f99f4c02a664169b
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-01 15:45:06 +00:00
Liam, Lee Pong Lam
237d663b70 Add feature flag for remove smartspace default date
Bug: 269761613
Test: Manual

Change-Id: I9d315a5889bb35efa4b3db91e3af6c981c6b9665
2023-03-01 03:46:37 +00:00
Alex Chau
8aa3f00238 Land ENABLE_TASKBAR_IN_OVERVIEW
Fix: 270393449
Test: manual
Change-Id: I731bfa8ee86154fd034781e27272abc81a6fe6c6
2023-02-28 20:18:32 +00:00
Sunny Goyal
2003c1c73f Restarting launcher if a flag changes
> Only restart when the screen is off.
> This allows better propogation of flags similar to systemUI
> Adding support for integer flags

Bug: 266854800
Test: Verified on device using device_config shell command
Change-Id: I4ea9c564f2d973f11f9570b5a21365183afefab7
2023-02-28 12:01:22 -08:00
Sunny Goyal
1297f400bc Merge "Moving flag creation to a separate file" into tm-qpr-dev 2023-02-28 19:18:25 +00:00
Sunny Goyal
98204add71 Moving flag creation to a separate file
> This provides better control over proguarding descriptions
> Enforcing bug number in flag creation

Bug: 270386012
Test: Presubmit and verified on device
Change-Id: I31014e397690379024d2e42c0e913ce806b9569c
Merged-In: I31014e397690379024d2e42c0e913ce806b9569c
2023-02-28 18:05:42 +00:00
Sunny Goyal
749983b192 Moving flag creation to a separate file
> This provides better control over proguarding descriptions
> Enforcing bug number in flag creation

Bug: 270386012
Test: Presubmit and verified on device
Change-Id: I31014e397690379024d2e42c0e913ce806b9569c
2023-02-27 23:19:39 +00:00
Sunny Goyal
12b79e6cbf Merge "Moving IS_DEBUG_DEVICE to a compile time flag for better proguard support" into tm-qpr-dev am: ae030217db am: 68cf24e532
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21550341

Change-Id: I46accbd8fa0579d78826685091f95ad7ce787228
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-25 01:11:26 +00:00
Sunny Goyal
ae030217db Merge "Moving IS_DEBUG_DEVICE to a compile time flag for better proguard support" into tm-qpr-dev 2023-02-25 00:53:56 +00:00
Sunny Goyal
c2e3a8afec Adding bug number for each feature flag
Bug: 270386012
Test: N/A
Change-Id: Ibe2d5b252c8c71dd0e6b77090b04e1a427a8c23c
Merged-In: Ibe2d5b252c8c71dd0e6b77090b04e1a427a8c23c
2023-02-23 22:05:10 +00:00
Sunny Goyal
eb8717d7cc Adding bug number for each feature flag
Bug: 270386012
Test: N/A
Change-Id: Ibe2d5b252c8c71dd0e6b77090b04e1a427a8c23c
2023-02-23 16:45:45 +00:00
TreeHugger Robot
93e3b7be9b Merge "ENABLE_WIDGET_PICKER_DEPTH" into tm-qpr-dev am: 01c1dff441 am: 9fc14b94cd
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21539136

Change-Id: I283fc2baa17b5d75f1eb28bd95b39330d97bb61c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 16:43:31 +00:00
TreeHugger Robot
01c1dff441 Merge "ENABLE_WIDGET_PICKER_DEPTH" into tm-qpr-dev 2023-02-23 13:22:15 +00:00
Alex Chau
facf8c05ca Merge "Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""" into tm-qpr-dev am: 8da1cac660 am: 0282b6f786
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21539137

Change-Id: Icf19c6b80e9dd42ec42f417b7fc4f05450f11629
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 12:57:25 +00:00
Alex Chau
8da1cac660 Merge "Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""" into tm-qpr-dev 2023-02-23 10:51:55 +00:00
Sunny Goyal
5b1a6cc137 Merge "Removing some obsolete features" into tm-qpr-dev am: b3a95149f5 am: 51eb7b611b
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21537730

Change-Id: I861e29f63df948aca8a6b7c05fa1b31b612cdc7a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-23 09:22:11 +00:00
Sunny Goyal
29fa0f3b66 Moving IS_DEBUG_DEVICE to a compile time flag for better proguard support
Bug: 270386012
Test: Presubmit
Change-Id: Ic4a81567f5b9752ab17c725566ce728c3d767bd6
2023-02-22 17:02:45 -08:00
Sunny Goyal
171bb04407 Removing some obsolete features
Bug: 270386012
Test: Presubmit
Change-Id: I9d68b3d17e02d6e79ab726eb7c8da1e5a4d337ef
2023-02-22 23:17:15 +00:00
Alex Chau
eabf2c39f7 Revert "Reland "Add logs for InvariantDeviceProfile.getDeviceProfile""
This reverts commit 5dfd939d41.

Reason for revert: b/270395565
Bug: 253338238

Change-Id: I6b2e44c92a67f6675d6947f34167a5f0c1cc6a45
2023-02-22 20:31:10 +00:00
Alex Chau
ce9766da2d ENABLE_WIDGET_PICKER_DEPTH
Fix: 270393895
Test: manual
Change-Id: I167354425e5469663c283919f84c8bdf664cceec
2023-02-22 20:18:39 +00:00
Kevin Lim
888a3fe0ca Merge "[DenserUI] Add feature flag for app icon in inline shortcuts." into tm-qpr-dev am: 2d5c2399ed am: 9acf5f147f
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21407092

Change-Id: I0f53da52a09f6914323c8d9c6938451396e47e54
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-22 06:23:53 +00:00
Kevin Lim
d8c97f669f [DenserUI] Add feature flag for app icon in inline shortcuts.
Bug: 268667774
Test: Tested in functional change: ag/21409510
Change-Id: Ifbd0bf1ed244e09b85236c02be289bfc026599e3
2023-02-21 21:39:38 +00:00
Jagrut Desai
24e2c3cf09 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev am: 202c68c8a2 am: 594f47ebef
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21255946

Change-Id: I66a73aba273072836873c02a41089e1046728dff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-16 19:11:43 +00:00
Jagrut Desai
202c68c8a2 Merge "Removing ENABLE_ALL_APPS_IN_TASKBAR and FLAG_STASHED_IN_APP_EMPTY Test: Visual(pics in buganizer) Bug: 265462138 Bug: 267382941" into tm-qpr-dev 2023-02-16 17:39:35 +00:00
Schneider Victor-tulias
ae5dc0264a Enable ENABLE_KEYBOARD_QUICK_SWITCH on master
Bug: 267520665
Test: Manually tested alt-tab and alt-shift-tab in and out of overview on a tablet and phone
Change-Id: Ic1f49c097ddfc2303023c1c47df3efca27e73a51
2023-02-14 21:35:31 +00:00