Jon Miranda
1dd2e48190
Wait until listeners/end runnable is created before checking icon result.
...
This prevents the case where original icon is in hidden state, then the
view gets recycled and since there is no listener/end runnable the original
icon is left in the hidden state.
Bug: 142120338
Change-Id: I5f5bfa2a7c70d10869f51edf5c40bbaab1ef93bc
2019-10-11 11:03:26 -07:00
Samuel Fufa
f2d486e5b0
Merge "Scale Icon badges for shortcut and widgets" into ub-launcher3-qt-future-dev
2019-10-08 01:41:53 +00:00
Tony Wickham
9788183962
Merge "Fix quickswitch flickers/ignored swipes" into ub-launcher3-qt-future-dev
2019-10-07 21:08:34 +00:00
Tony Wickham
af33f2c9d4
Fix quickswitch flickers/ignored swipes
...
- Don't set current page to running task when applying load plan,
if we are already settling on a new task to launch.
- When starting a new task, finish to the running app if that's
the task being started (should not happen with above change)
- When disabling free scroll mode, don't snap to a page if we're
already on it. This was setting mNextPage so the first check
was falsing.
Bug: 142068081
Change-Id: I5b392d9726a81c51718d2f94eee6cd4f78b61f69
2019-10-07 21:08:04 +00:00
Samuel Fufa
aa038af6b3
Scale Icon badges for shortcut and widgets
...
Test: Manual
Bug: 141262820
Change-Id: I03edc986e3fe1876b6b7ed179b96864d587cb137
2019-10-04 17:06:33 -07:00
TreeHugger Robot
e5865a03bb
Merge "Decouple grid size and widget preview size in WidgetsRecyclerView" into ub-launcher3-qt-future-dev
2019-10-04 23:36:22 +00:00
Samuel Fufa
f1424a3b38
Decouple grid size and widget preview size in WidgetsRecyclerView
...
Test: Manual
Bug:142148773
Change-Id: I59aa29e95ddb7d6002a88cf853bae5fcf9811154
2019-10-04 15:15:58 -07:00
vadimt
1ac98548a7
resolve merge conflicts of 08776ada1e to ub-launcher3-qt-future-dev
...
Bug: None
Test: I solemnly swear I tested this conflict resolution.
Change-Id: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
Merged-in: I9a3b0f67ee874b5ec4ad67f41a46ec7876d19082
2019-10-03 20:58:15 +00:00
Pinyao Ting
52d0252150
Fix the issue talkback feedback doesn't say anything when user long
...
press on an app icon.
When user long press on an app icon, the a11y focus event wasn't
properly triggered on the container of deep shortcut, which is why
there wasn't any talkback feedback after long press on an app icon.
Bug: 140786694
Change-Id: Ib38db147faa5a163985f1ed74beec04c588b022c
2019-10-03 07:47:33 -07:00
Samuel Fufa
0063204dbf
Add nullcheck for VelocityTracker
...
Bug:134712476
Change-Id:I7834507a4e9aadf4d89c0ed6f3eba812df7425cd
(cherry picked from commit 6ef5b8abf4 )
2019-10-02 18:23:03 +00:00
TreeHugger Robot
d39f7b51c8
Merge "Some cleanup for SwipeDetector." into ub-launcher3-qt-future-dev
2019-10-01 21:47:46 +00:00
Andy Wickham
769c795edf
Some cleanup for SwipeDetector.
...
It is now organized as follows:
- private constants
- public constants
- private final fields
- private variable fields
- constructors
- public methods
- private methods
- public interface/abstract class
This is intended to be a functional no-op.
Bug: 141939911
Change-Id: Iad5a9b3b73b35641f8a4f1d52ada6adef3825c47
Tested: Built and sanity checked manually.
2019-10-01 14:38:56 -07:00
TreeHugger Robot
08776ada1e
Merge "Waiting for Launcher model load in out-of-proc tests." into ub-launcher3-qt-qpr1-dev
2019-10-01 19:48:05 +00:00
vadimt
7371e4da68
Waiting for Launcher model load in out-of-proc tests.
...
Not doing this seems to have caused flakes.
Bug: 141770616
Change-Id: Ia9caf20e4a2d93298adf4249ca815ad79bced802
Merged-in: Ia9caf20e4a2d93298adf4249ca815ad79bced802
2019-10-01 19:18:14 +00:00
Samuel Fufa
1f3a847011
App title in Widget list shouldn't be actionable by a11y methods
...
Bug:139913027
Test:Manual
Change-Id: I2a5d5551d09ee2bc96444164ed77225a3b4a829a
(cherry picked from commit d3720c210b )
2019-10-01 17:33:18 +00:00
Pinyao Ting
52908c9adc
Revert "Revert "Revert "cache shourtcut image"""
...
This reverts commit d13f0c5c45 .
Reason for revert: app crashes when adding widgets automatically b/141568904
Change-Id: I5b97f440716c93b1bd93c899e3e1d40e8bbd2885
2019-10-01 09:44:11 -07:00
Pinyao Ting
ea38c25854
removed extra test protocol for unit test
...
Bug: 140406263
Test: run TaplTestsLauncher3
Change-Id: I73b3098bd3aa92fed41d22a94cb58fd07263d26a
2019-09-30 18:34:49 +00:00
vadimt
10b1414778
Merge "Adding debug tracing for a flake" into ub-launcher3-qt-qpr1-dev
...
am: 1a02173321
Change-Id: Id1feb3f64191475472bdfceac309b6e26869a1e6
2019-09-28 01:07:55 -07:00
vadimt
3895d9b642
Adding debug tracing for a flake
...
Bug: 141770616
Change-Id: I6413ca6ce380eede817ae2418d5a1bc04c091270
2019-09-27 17:55:48 -07:00
TreeHugger Robot
989c9f8b17
Merge "Fix notification dot scale in AllApps with grid size enabled" into ub-launcher3-qt-future-dev
2019-09-27 22:19:19 +00:00
Samuel Fufa
c96fa247a3
Fix notification dot scale in AllApps with grid size enabled
...
Test: Manual
Bug: 141262820
Change-Id: I24abf822edaeeabf335ed698a3ac1a65b71be7dc
2019-09-27 14:49:54 -07:00
TreeHugger Robot
d69327e9c0
Merge "Fix ScrimView caret alignment and ignore touches" into ub-launcher3-qt-future-dev
2019-09-27 00:15:36 +00:00
Samuel Fufa
0316d6cd7a
Fix ScrimView caret alignment and ignore touches
...
Test:Manual
Bug:79868152
Change-Id: Idd5a2b965173b8071697b50aac8760b0d84e469f
2019-09-26 16:30:46 -07:00
TreeHugger Robot
ecee887d1a
Merge "Drag and drop preview size for BubbleTextView" into ub-launcher3-qt-future-dev
2019-09-26 19:29:58 +00:00
Samuel Fufa
45812a9ed6
Drag and drop preview size for BubbleTextView
...
Test:Manual
Bug:141260670,141263002
Change-Id: If08dba28cce3ae07bb39ddad3743dd5eea92cb90
2019-09-26 12:21:45 -07:00
Pinyao Ting
2bcd26a23d
Merge "migrate custom widgets in comply with plugin framework" into ub-launcher3-qt-future-dev
2019-09-25 23:45:49 +00:00
Pinyao Ting
59e908b54f
migrate custom widgets in comply with plugin framework
...
Bug: 139888225
Change-Id: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71
Merged-In: I8a3d0fe2689ad5ba24b19309728bbad0b6287f71
(cherry picked from commit c7a6c2979c )
2019-09-25 15:58:41 -07:00
Jonathan Miranda
c50fe371b1
Merge "Fix NPE when trying to construct WorkspaceItemInfo with null intent data." into ub-launcher3-qt-qpr1-dev
...
am: 0e752faff4
Change-Id: I11fc10b79d83971d7eeb466a619f50fc3fd5a637
2019-09-25 15:26:07 -07:00
Jonathan Miranda
0e752faff4
Merge "Fix NPE when trying to construct WorkspaceItemInfo with null intent data." into ub-launcher3-qt-qpr1-dev
2019-09-25 22:07:31 +00:00
vadimt
eda5c215b7
Merge "Removing debug tracing for a fixed bug" into ub-launcher3-qt-qpr1-dev
...
am: b72cd2629c
Change-Id: Id28e20b5fe23c6f6501f3c7a38305f0a306b287a
2019-09-25 12:21:06 -07:00
vadimt
49b64a98ca
Removing debug tracing for a fixed bug
...
Bug: 141275518
Change-Id: I171361d4f797f587b404eed07108224d8ab844f8
2019-09-25 11:26:56 -07:00
Samuel Fufa
762aaaa817
Merge "Allow LongPress between homescreen icons" into ub-launcher3-qt-future-dev
2019-09-24 23:24:10 +00:00
TreeHugger Robot
ff4977d42d
Merge changes from topic "a11y-minus-one" into ub-launcher3-qt-future-dev
...
* changes:
fix test for a11y change in supporting -1 page
Revert "Revert "support scroll backward to minus one screen via voice/switch access""
2019-09-24 21:37:01 +00:00
Samuel Fufa
4a1d9b12c5
Allow LongPress between homescreen icons
...
approach: Ignore BubbleTextView touches in padding
Test: Manual
Bug:141265063
Change-Id: I579d414293e922e926410d0373f101f9dde9bce0
2019-09-24 14:10:03 -07:00
Jon Miranda
3944746fb6
Fixed a bug where restored promise icons stay promise icons.
...
Test:
1 Turn off WiFi
2 Install app. (Promise icon gets added to home screen).
3 Backup launcher.
4 Restore launcher.
5 Turn on WiFi
6 Note promise icon gets updated with as installation progresses.
Will submit to future/master later.
Bug: 140212732
Change-Id: I63cedc6c16f5028297fb1a0852ffbd4473319ae9
(cherry picked from commit 0e1b17f8c4 )
2019-09-24 19:40:30 +00:00
Jon Miranda
10b898eee6
Fix NPE when trying to construct WorkspaceItemInfo with null intent data.
...
We change the way we parse the install queue; so this seems to be a rare case
when trying to flush an install queue from an old apk with a launcher apk
with the new parsing changes.
Bug: 140935140
Change-Id: I14db4c3f70ed2e1bc5ad31dec7e6473cd6f8f13c
2019-09-24 11:26:57 -07:00
vadimt
6d5511a42f
Merge "Removing debug tracing for flakes that stopped reproing" into ub-launcher3-qt-qpr1-dev
...
am: 76aadac4e4
Change-Id: I5099741d3502584f7d501d74897944edc3339977
2019-09-23 14:56:04 -07:00
vadimt
5466699f0b
Removing debug tracing for flakes that stopped reproing
...
Bug: 139941530
Bug: 140311911
Change-Id: Idf4c013373e627db92aa96f9207e25336ee039f8
2019-09-23 13:57:32 -07:00
Pinyao Ting
7752023c08
fix test for a11y change in supporting -1 page
...
Bug: 140406263
Change-Id: I0a39db135a5e5b0fe570ace55a368a7f4b6cb453
Test: run TaplTestLauncher3 locally
2019-09-23 13:06:36 -07:00
Pinyao Ting
af6daa2873
Revert "Revert "support scroll backward to minus one screen via voice/switch access""
...
This reverts commit 3ad4ace203 .
Reason for revert: roll forward and bugfixes
Change-Id: Icd56cdeddb3baf9819700cc567c04af0905825ef
2019-09-23 12:56:11 -07:00
Jonathan Miranda
32c8664fb4
Merge "[DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons." into ub-launcher3-qt-qpr1-dev
2019-09-20 17:07:20 +00:00
Pinyao Ting
ddd0ff44ba
Exclude shortcuts in popup from IconCache.
...
We want to load from/save icons to icon cache for pinned shortcuts only
to reduce memory footprint.
Bug: 140242324
Change-Id: I25c7d59e29c6e27752b36c2c3c226849d4e177af
2019-09-20 15:24:22 +00:00
vadimt
ca939f073c
Adding tracing for a lab-only flake.
...
am: 9f6cde1443
Change-Id: I31ce596847aa1506cefbde711ae6ad6f3e3b777e
2019-09-19 17:25:43 -07:00
TreeHugger Robot
8443f91ee1
Merge "Enable touches on hotseat area" into ub-launcher3-qt-future-dev
2019-09-19 23:15:18 +00:00
vadimt
9f6cde1443
Adding tracing for a lab-only flake.
...
Bug: 141275518
Change-Id: I95544a55ef13002f696a82e52d54ffb6251d0e39
2019-09-19 16:07:05 -07:00
Jon Miranda
0e1b17f8c4
[DO NOT MERGE] Fixed a bug where restored promise icons stay promise icons.
...
Test:
1 Turn off WiFi
2 Install app. (Promise icon gets added to home screen).
3 Backup launcher.
4 Restore launcher.
5 Turn on WiFi
6 Note promise icon gets updated with as installation progresses.
Will submit to future/master later.
Bug: 140212732
Change-Id: I63cedc6c16f5028297fb1a0852ffbd4473319ae9
2019-09-19 22:41:49 +00:00
Samuel Fufa
eacaf8aee6
Enable touches on hotseat area
...
Test: Manual
Bug:130294785
Change-Id: Ib3ace6633aae1ad2acc71520afd7bfdc96ffb285
2019-09-19 11:22:27 -07:00
TreeHugger Robot
fb884ec895
Merge "Change onAppWidgetRemoved to public" into ub-launcher3-qt-future-dev
2019-09-19 17:25:20 +00:00
Samuel Fufa
4498241117
Merge "Fix app crash on deep shortcut restore" into ub-launcher3-qt-future-dev
2019-09-19 17:15:22 +00:00
Samuel Fufa
791ed47320
Change onAppWidgetRemoved to public
...
Bug:141279939
Change-Id: I02aa7b8b54cbd75ebe34acd88c8006c23c52f002
2019-09-19 10:11:45 -07:00