Commit Graph

21377 Commits

Author SHA1 Message Date
vadimt 08eca2fa2e Removing temporary workarounds to make tests pass on Cuttlefish
Bug: 136278866
Change-Id: Ie537a578bb871921c0cbea1f197261e703de98f5
2019-12-12 18:15:48 -08:00
Automerger Merge Worker a11ff18d6b [automerger skipped] perform accessbility focus when the recyclerview doesn't gain focus am: 9c592e210e -s ours
am skip reason: Change-Id I100e646ad2aba0081b48b86ec408ce8e76a80713 with SHA-1 865dc9b3b1 is in history

Change-Id: If0b71cdd5977c6793c9ca44c6729904c77966174
2019-12-12 18:46:00 +00:00
vadimt 526c630500 Simplify diagnosing of the context menu being present when not expected
Change-Id: I3550a724665f908ef70570e2e151c53fc7fa1844
2019-12-11 18:09:39 -08:00
TreeHugger Robot 98833d525c Merge "Updating some non-final static objects" into ub-launcher3-master 2019-12-11 22:07:53 +00:00
TreeHugger Robot 7d2f42d97a Merge "Moving logging Launcher and platform versions before matching" into ub-launcher3-master 2019-12-11 21:30:35 +00:00
TreeHugger Robot 41dd48a718 Merge "Diagnosing the reason for opening context menu" into ub-launcher3-master 2019-12-11 21:29:38 +00:00
Sunny Goyal 73b5a27b14 Updating some non-final static objects
Updating various static objects to use a standard pattern so that
it is easier to track and cleanup those objects

Bug: 141376165
Change-Id: Ia539cbfa338d544dddad771c5027b6748762768b
2019-12-11 13:22:58 -08:00
TreeHugger Robot 4f37a5e268 Merge "Removing static instances of UserManagerCompat and AppWidgetManager" into ub-launcher3-master 2019-12-11 18:41:04 +00:00
Winson Chung 42cfeadb03 Merge "Pass user id with call to get icon from task description" into ub-launcher3-master 2019-12-11 18:07:58 +00:00
Sunny Goyal 337c81f664 Removing static instances of UserManagerCompat and AppWidgetManager
> Changing the lifecycle to follow other static objects in Launcher
> Removing compat interface and inlining everything to helpers

Bug: 141376165
Change-Id: I82bd5db1969101de9a7eac77f32728d70195bb35
2019-12-11 10:03:19 -08:00
TreeHugger Robot fbe947a223 Merge "Move the app to /system_ext" into ub-launcher3-master 2019-12-11 03:53:17 +00:00
Winson Chung 1d8a582130 Pass user id with call to get icon from task description
Bug: 145708947
Test: Manual
Change-Id: Ic7da3d36af490ea568481576e26c927020659eda
(cherry picked from commit a8dee18ff1)
2019-12-10 19:55:37 +00:00
Pinyao Ting 9c592e210e 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
Merged-In: I100e646ad2aba0081b48b86ec408ce8e76a80713
(cherry picked from commit 865dc9b3b1)
2019-12-10 11:28:50 -08:00
Tony Wickham 70f998471c Merge "Allow quick switch from 3P launcher home in 2 button mode" into ub-launcher3-master 2019-12-10 19:20:57 +00:00
TreeHugger Robot dfa1a20591 Merge "Add logging for hybrid hotseat" into ub-launcher3-master 2019-12-10 18:54:22 +00:00
Zak Cohen c98902af47 Merge "Overview actions - adds feature flag and base class for Overview Actions." into ub-launcher3-master 2019-12-10 18:13:41 +00:00
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