Commit Graph

597 Commits

Author SHA1 Message Date
Schneider Victor-tulias
7d8a0df175 Clean up ENABLE_INPUT_CONSUMER_REASON_LOGGING
flag: ENABLE_INPUT_CONSUMER_REASON_LOGGING
Fixes: 270390028
Test: ran launcher and printed gesture nav logs
Change-Id: I0fd0b82c1c812ddc43beba03bd456795f68ada55
2023-04-05 15:40:32 -07:00
Brian Isganitis
296f8776f7 Merge "Support simple A-Z search in Taskbar All Apps." into udc-dev 2023-04-05 17:13:52 +00:00
fbaron
d2f0676112 Create flag for multi-select edit mode
Bug: 270709220
Test: n/a
Change-Id: I3855662b56b9d26b5513c7681e7f83fa453a1173
2023-04-05 00:43:38 +00:00
Brian Isganitis
728d19a0e2 Support simple A-Z search in Taskbar All Apps.
Supporting the Launcher3 search box is low hanging fruit, so we might as
well do it.

Also renamed the feature flag to be for search in general.

Test: Launching, split screen, and popups work in search.
Bug: 216683257
Flag: ENABLE_ALL_APPS_SEARCH_IN_TASKBAR=false
Change-Id: I056b89be6f458d1d90100e34551baa34037574d1
2023-04-04 20:35:31 -04:00
Brandon Dayauon
4294a77e1b Enable twoLine for device search for teamfood
bug: 275906280
test: manual
Change-Id: I097b78d22afacf775399826202feb3c6d4f102f9
2023-04-03 12:58:59 -07:00
Sunny Goyal
ef6b0c0700 Adding a Teamfood flag option
This allows a targetting a collection of flags to a specific group
either using rollout or via opt-in

Flag: N/A
Bug: 274517185
Test: Verified that the team food flag controls dependent-flags
Change-Id: I7e02964d778e3fbf54eda0f34bab8ec5a1206e40
2023-04-02 18:20:30 +00:00
Jeremy Sim
9cc48f3e96 Create flag for new App Pairs feature
This patch creates a new Launcher flag for the upcoming App Pairs feature.

Flag: ENABLE_APP_PAIRS
Bug: 274189428
Test: Not needed
Change-Id: I84cfb3742a60bd5633d71bc68e7506ac0c67e55f
2023-03-28 09:50:52 -07:00
Brandon Dayauon
77092473b3 Merge "Move ENABLE_RECENT_BLOCK to NexusFeatureFlag.java" into udc-dev 2023-03-23 01:44:15 +00:00
Sebastian Franco
17ab6a5d44 Setting FOLDABLE_SINGLE_PAGE to true
Bug: 270395274
Test: atest ReorderWidgets
Test: atest FoldableItemsIntegrity
Change-Id: I25411facd9d8745a7a7906252869979b7ecec457
2023-03-21 23:14:38 +00:00
Brandon Dayauon
8d5d853b31 Move ENABLE_RECENT_BLOCK to NexusFeatureFlag.java
bug: 274132227
test: Manual/Presubmit
Change-Id: I3caf9c8824a905b7796ae4d7aa2a2dab9d44a8f1
2023-03-21 22:49:20 +00:00
Federico Baron
28a8d5a14c Merge changes I8ccf962f,I383c7540 into udc-dev
* changes:
  Turn on the flag for large screen widget picker
  Add test for widget picker on landscape mode for tablets
2023-03-21 22:28:18 +00:00
Federico Baron
ac978187a7 Turn on the flag for large screen widget picker
Bug: 256684299
Test: N/A
Change-Id: I8ccf962faab42c3ea012ddcf4650ded01cfaf7f2
2023-03-21 16:48:12 +00:00
Saumya Prakash
5a7a23bd3c Enable the redesigned gesture navigation tutorial
Bug: 270396257
Bug: 241813570
Test: N/A
Change-Id: I49a548b69da37aecf422c08b932592befc1a2cf8
2023-03-20 23:30:35 +00:00
Stefan Andonian
053a7e3743 Revert "Revert "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag.""
This reverts commit 17f7406a5e.

Reason for revert: To be submitted after the fix for b/273614966 is downstream merged into udc-dev (ag/22102493).

Change-Id: I3038b46776815069898829e46321885278b1caff
2023-03-20 16:59:29 +00:00
Charlie Anderson
e1f1fd0924 Merge "Revert "Revert "flip app shortcut popup design on for U""" into udc-dev 2023-03-17 16:33:47 +00:00
Stefan Andonian
3043ad729e Merge "Revert "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag."" into udc-dev 2023-03-15 06:09:42 +00:00
Manusaran Reddy Avula
17f7406a5e Revert "Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag."
This reverts commit 2b4e19a01a.

Reason for revert: b/273614966

Change-Id: I2f16b37d2f18c167012cfb9ec42797a7bef3648d
2023-03-15 04:42:07 +00:00
Federico Baron
068198f8e4 Enable dot pagination for workspace
Bug: 262741688
Test: N/A
Change-Id: I305cd31381ede212bc242e821fd96a2ff30099c8
2023-03-14 22:39:07 +00:00
Stefan Andonian
2b4e19a01a Enable CONTINUOUS_VIEW_TREE_CAPTURE FeatureFlag.
Bug: 224595733
Test: Feature works wonderfully.
Change-Id: Idf20cc673d32484eeb4501060c58b1d334dd6ad3
2023-03-14 20:20:23 +00:00
Charlie Anderson
3ddd00ee3c Revert "Revert "flip app shortcut popup design on for U""
This reverts commit 5156b48f6c.

Reason for revert: Fixed test failures from flipping the flag on in ag/22066273 and ag/21992972

Change-Id: I0478869c22a8f23d81a688bfa07a40230521f638
2023-03-14 19:39:40 +00:00
Stefan Andonian
a353283ec6 Merge "Allow Binding the First Workspace Page before the Rest." into tm-qpr-dev am: df57fd822c am: 0714e68ce7
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/21546153

Change-Id: I23a96ced9d64fb66f1228ee41896975af13ae848
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-03-13 22:05:35 +00:00
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