Commit Graph

21461 Commits

Author SHA1 Message Date
Tony Wickham a06ad834d0 Allow quick switch from 3P launcher home in 2 button mode
Only the FallbackSwipeHandler supports quickswitch mode on the
home screen, but we only used that handler for fully gestural
mode. Now we also use that handler for 2-button mode if both
of these conditions are met:
- User is on the home screen
- User swipes right on the nav region (instead of up)

Also fix issues with continuous quick switch gestures by setting
the appropriate end target NEW_TASK instead of HOME.

Bug: 140467002
Change-Id: I8f327638b48cf4c0acb1ebe265b7846afac6759b
2019-12-09 19:11:09 -08:00
vadimt 61e285245e Moving logging Launcher and platform versions before matching
I suspect that sometimes APIs return versions that are different from
ones in the bugreport. We want to see them before possible non-match
failures.

Bug: 145935261
Change-Id: Ia1a9208de111368245eac9147ae4a189db823105
2019-12-09 18:15:33 -08:00
vadimt 165a507a35 Disabling fallback tests
Improving state events accounting hasn't completely solved flakiness.
I've noticed that swiping up in 0-button mode sometimes doesn't open
Overview.

Bug: 143488140
Change-Id: I660885ed556aa2953c17d491fde267734b95890b
2019-12-10 02:06:16 +00:00
Zak Cohen e895869f47 Overview actions - adds feature flag and base class for Overview Actions.
Adds ENABLE_OVERVIEW_ACTIONS feature flag and base factory. Requires an
implementation in overlay to show any actions.

Test: run locally with flag on and off.
Bug: 145628186

Change-Id: I1c36330464cc01e1e987ebfea1a9f451067598a5
2019-12-09 16:43:54 -08:00
TreeHugger Robot 0aa4bfebcf Merge "fix app crash on settings for launcher" into ub-launcher3-master 2019-12-09 23:26:28 +00:00
TreeHugger Robot 372694ee30 Merge "Consistently checking state change messages" into ub-launcher3-master 2019-12-09 23:10:46 +00:00
Tracy Zhou c19d7783aa Merge "Render user's actual workspace in ThemePicker preview (Part 1)" into ub-launcher3-master 2019-12-09 23:04:17 +00:00
Pinyao Ting 80634893ab fix app crash on settings for launcher
Bug: 145941320
Test: Settings -> Apps & notifications -> Default apps -> Gear button
next to Home app -> Click on every item and make sure it doesn't crash

Change-Id: Ibad2ebf0c53a58a04327d0323f83de27efd8fda8
2019-12-09 14:39:09 -08:00
Automerger Merge Worker 7891a71d5f Persist predicted items when dragged to workspace am: 02c794578c
Change-Id: I63c93b16f549fb974c7c0e6c86f0939aff8c7b70
2019-12-09 22:31:38 +00:00
Tracy Zhou 44fa2940cd Render user's actual workspace in ThemePicker preview (Part 1)
This change takes care of icon rendering. Further work still needs to be done for folders and widgets.

Test: Go to grid options, choose a different grid option, and see user's workspace rendered in the preview
Bug: 144052839
Change-Id: I696153dec1d1f08c5ac82d0c75be5740325c0fc4
2019-12-09 14:06:38 -08:00
TreeHugger Robot 432e0513d1 Merge "perform accessbility focus when the recyclerview doesn't gain focus after fragment replacement in SettingsActivity" into ub-launcher3-master 2019-12-09 22:05:43 +00:00
vadimt bc5d7e68e8 Diagnosing the reason for opening context menu
Adding it permanently. System tests using TAPL sometimes run into
mysterious hard-to-diagnose problems (like, a menu opens for no apparent
reason), so we'll need to keep diags like this forever.

Change-Id: I25fcab94931fa4f6e1bda34d5705de5dd411188a
2019-12-09 13:53:05 -08:00
vadimt bdaa179b92 Consistently checking state change messages
Checking for events whenever Launcher sends them.
Checking for correct events (final events, not for events from
intermediate state changes).

This should simplify diagnosing of bugs involving TAPL.
This is also supposed to fix Fallback overview tests.

Bug: 143488140
Change-Id: If053ed808ec71bf2b652ab680be5bdfe9ff8cbb9
2019-12-09 12:33:39 -08:00
TreeHugger Robot ebc50f3095 Merge "Moving some tests to robolectric" into ub-launcher3-master 2019-12-09 20:04:35 +00:00
TreeHugger Robot ecd7cc0e4c Merge "migrate from deprecated fragment api to latest" into ub-launcher3-master 2019-12-09 19:45:29 +00:00
Sunny Goyal 4b5b0eb60d Moving some tests to robolectric
> Adding support for simulating model load

Bug: 130562632
Change-Id: I1de8c0abe2e74d4e7e47e18914316c339920609a
2019-12-09 11:17:12 -08:00
Samuel Fufa a591bf170d Add logging for hybrid hotseat
Bug: 142753423
Test: Manual
Change-Id: I5abacd64c43130af54314d3c2fd07407e39d6af9
2019-12-06 14:25:27 -08:00
Vadim Tryshev 0c3fd9823e Merge "Moving processing data received from Wellbeing to a supress-all block" into ub-launcher3-master 2019-12-06 20:21:53 +00:00
vadimt c55f89c630 Moving processing data received from Wellbeing to a supress-all block
Bug: 144927220
Change-Id: I25f02d5844b32abb73c2b4b6fcdaa68f438e6aa4
2019-12-06 11:08:56 -08:00
TreeHugger Robot 8a14ffb6ef Merge "Send home intent after reaching 3P launcher on swipe up" into ub-launcher3-master 2019-12-06 06:59:28 +00:00
TreeHugger Robot 32e8a96ee2 Merge "allow smart folder to support more than 2 items" into ub-launcher3-master 2019-12-06 05:29:24 +00:00
Tony Wickham 8a50a6d858 Send home intent after reaching 3P launcher on swipe up
Also keep the 3P launcher's alpha at 0 during the gesture, and
don't send the home intent if user touches during the transition.

Bug: 139682945
Change-Id: Ie758f0b337bb173b34f5585ec1915b7ea1145094
2019-12-05 14:40:13 -08:00
TreeHugger Robot 56c9c86fe9 Merge "Removing custom activity dump logic" into ub-launcher3-master 2019-12-05 20:34:54 +00:00
Pinyao Ting eacbdd3cde allow smart folder to support more than 2 items
Bug: 144975153
Test: Manual
Change-Id: Ib5ff34863312d8b8da7615371e353bb697261790
2019-12-05 11:35:14 -08:00
Pinyao Ting 865dc9b3b1 perform accessbility focus when the recyclerview doesn't gain focus
after fragment replacement in SettingsActivity

Bug: 145475911
Test: Settings -> App & Notifications -> Default Apps -> Enable Talkback
-> Gear Button next to Home app -> About -> Verify Talkback reads the
first item in the page

Change-Id: I100e646ad2aba0081b48b86ec408ce8e76a80713
2019-12-05 11:04:20 -08:00
Pinyao Ting 8b7483810a migrate from deprecated fragment api to latest
Bug: 145475911
Test: Settings -> App & Notifications -> Default Apps -> Gear Button
next to Home app -> Verify everything works

Change-Id: Icad09230e00991da91dd0b3f870ab46edc04d1a3
2019-12-05 10:59:01 -08:00
Jeongik Cha 6af66b01c7 Move the app to /system_ext
As mentioned in go/partitions-in-r, we plan to forbid hidden API in
product partition.
So this app should be moved to /system_ext because it uses hidden API.
It is not permanent, so they can be moved back to /product due to
needs if there isn't hidden usage anymore.

Bug: 137908189
Test: m
Test: check whether device boots successfully
Change-Id: Ida940a2e1bb832cf5c3d147297e7ed65fa6921d5
2019-12-05 11:18:52 +00:00
Samuel Fufa 02c794578c Persist predicted items when dragged to workspace
Bug: 143787549
Test: Manual
Change-Id: Ieff0ede4072a2a9a87a62b06ad846eedfe97583f
2019-12-04 14:21:12 -08:00
Samuel Fufa 3a39a25d1c Ignore predicted items when items are drag over them
Bug:145565886
Test:Manual
Change-Id: I727975234d36ef2cba0d58ba1df6886e09157ce6
2019-12-04 12:13:46 -08:00
Automerger Merge Worker f3b709285d [automerger skipped] Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev am: b6f8076e21 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifb17b0280cf0e061e1622e288d7201c5a7822078
2019-12-04 18:29:54 +00:00
TreeHugger Robot b6f8076e21 Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-future-dev 2019-12-04 18:26:42 +00:00
Automerger Merge Worker d479ddd7ff [automerger skipped] Import translations. DO NOT MERGE am: 275e841c7b -s ours am: ea3d57fbad -s ours
am skip reason: subject contains skip directive

Change-Id: I99e6c0655e21888fb9b080a73c3ba31074d29e4f
2019-12-04 18:23:09 +00:00
Automerger Merge Worker ea3d57fbad [automerger skipped] Import translations. DO NOT MERGE am: 275e841c7b -s ours
am skip reason: subject contains skip directive

Change-Id: Ibe51fe1ef511ffcd2bc13503bf396f49da213220
2019-12-04 18:13:20 +00:00
Bill Yi 6a38180482 Import translations. DO NOT MERGE
Change-Id: If3f89987d7cbcad1ab77400785235af4e17debcf
Auto-generated-cl: translation import
2019-12-04 07:12:46 -08:00
Bill Yi 275e841c7b Import translations. DO NOT MERGE
Change-Id: Ia7ef20643a0f85e3805cdcbc4a43aae07c433bd2
Auto-generated-cl: translation import
2019-12-04 07:09:23 -08:00
TreeHugger Robot dbff60ff5e Merge "Fix Text shadow issue for predicted icons" into ub-launcher3-master 2019-12-04 05:32:22 +00:00
TreeHugger Robot e1187e6d98 Merge "Dedupe Items on Workspace for hotseat prediction" into ub-launcher3-master 2019-12-04 02:39:36 +00:00
Samuel Fufa 425c60e65c Fix Text shadow issue for predicted icons
Bug:142753423
Test:Manual
Change-Id: Ib8ce43592421aa0507400eabd9324dd8c6950086
2019-12-03 17:41:29 -08:00
Samuel Fufa 2f0b2d3b4e Dedupe Items on Workspace for hotseat prediction
Bug:145236832
Test:Manual
Change-Id: I46da38998486c7f58aca829d33b42cbb04da515a
2019-12-03 14:39:12 -08:00
Zak Cohen f9e73a01a6 Update FeatureFlags documentation.
Test: comment change
Change-Id: I25f99150f467e4e65d4969ad20a91f18743eceb0
2019-12-03 12:00:44 -08:00
Zak Cohen 39a7760ec9 Merge "Make it possible to set a bottom margin on the task thumbnail view." into ub-launcher3-master 2019-12-03 19:43:29 +00:00
Zak Cohen b053371672 Make it possible to set a bottom margin on the task thumbnail view.
Test: manual test

Change-Id: Idb18efeb5e2ee46f789488529513874e028532db
2019-12-02 15:56:57 -08:00
Sunny Goyal ec30c5ed51 Merge "Adding utility class to load customization resources for easier prototype" into ub-launcher3-master 2019-11-28 00:23:37 +00:00
TreeHugger Robot 51a5bf15ab Merge "Hybrid hotseat predicted icon visuals" into ub-launcher3-master 2019-11-26 20:13:09 +00:00
Samuel Fufa 1e2d004dd5 Hybrid hotseat predicted icon visuals
Bug:142753423
Test: Manual
Change-Id: I6f056aaec905c8ca357b7cf78a657cdaac84e2f1
2019-11-25 17:35:05 -08:00
Sunny Goyal fca20151b0 Removing custom activity dump logic
Change-Id: I37c339be205a4e35227986544d36ca03b1ae4ba4
2019-11-25 11:18:28 -08:00
Automerger Merge Worker d4e8c33a16 [automerger skipped] Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-qt-future-dev am: 491bb699c8 -s ours
am skip reason: Change-Id I2241bdb524ca6bc66e545a0ec8433119e0448358 with SHA-1 b2049196b9 is in history

Change-Id: I9f4d692dd2a3e09a78e31767f4ed094b921d0524
2019-11-23 05:45:07 +00:00
TreeHugger Robot 491bb699c8 Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-qt-future-dev 2019-11-23 05:36:41 +00:00
Hyunyoung Song 110e1a335a Merge "Align badging logic with platform IconDrawableFactory." into ub-launcher3-master 2019-11-23 05:06:36 +00:00
TreeHugger Robot 41a39e3eb0 Merge "Don't removePluginListener() unless user is unlocked" into ub-launcher3-master 2019-11-23 00:48:43 +00:00