vadimt
1b92f6d964
Reduce risk of flakes in memory leak detection tests.
...
Now performing jreck@-style garbage collection prior to getting Launcher
PSS. The reduces PSS noise from ~700KB to ~250KB (std dev).
The tests (MemoryTests) run outside of Launcher process and
communicate with Launcher via RPC.
The change is in the RPC handler that lives in Launcher and returns
Launcher PSS to the test.
Bug: 139137636
Change-Id: I457e590b005dac53345f4223d972c7961754938c
2019-10-08 01:05:41 +00:00
Tony Wickham
1ab5de3fc8
Merge "Fix quickswitch flickers/ignored swipes" into ub-launcher3-qt-future-dev
...
am: 9788183962
Change-Id: I153fe569fd3f2c8ad065282eed56f9f13c5ab0d4
2019-10-07 14:27:22 -07: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
TreeHugger Robot
fedd5f1fd7
Merge "Removing host deletion on startup and corresponding callbacks" into ub-launcher3-master
2019-10-07 18:28:44 +00:00
Samuel Fufa
5e6741828f
Merge "Decouple grid size and widget preview size in WidgetsRecyclerView" into ub-launcher3-qt-future-dev
...
am: e5865a03bb
Change-Id: I72ff45bd7080a7bb6ca4ab681423d6bd1da8a291
2019-10-04 16:45:48 -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
e72ba6b616
Merge "Fix the issue talkback feedback doesn't say anything when user long press on an app icon." into ub-launcher3-qt-future-dev
...
am: a61914194e
Change-Id: Ife1d71cdaf821705288a775c3ff6e3f8bbd8f454
2019-10-03 10:57:36 -07: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
Tracy Zhou
c8611b3afe
Merge "Live tile should switch to screenshot before finishing recents animation" into ub-launcher3-master
2019-10-03 00:08:09 +00:00
Tracy Zhou
387279d938
Live tile should switch to screenshot before finishing recents animation
...
Fixes: 139439373
Test: Launch a new app from shortcuts in Overview mode. Make sure the
live tile stays put (no hole). Same with touching empty space in
Overview to go home.
Change-Id: I6cacf2842e21f9856d0021cea9fddf4f870f09f0
2019-10-02 16:53:02 -07:00
Sunny Goyal
01615a69d2
Removing host deletion on startup and corresponding callbacks
...
> Launcher deletes the phantom widget ids in loader
Bug:141376165
Change-Id: Icf0542535f194f9abc67e7190f34cb60f69e9f66
2019-10-02 12:08:26 -07:00
Sunny Goyal
1456522cab
Merge "Removing static listeners from PackageInstallerCompat" into ub-launcher3-master
2019-10-02 18:27:45 +00: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
Andy Wickham
b9efb9ad71
Merge "Some cleanup for SwipeDetector." into ub-launcher3-qt-future-dev
...
am: d39f7b51c8
Change-Id: Ifadf65abe4239a703c3d15eddc6ebd51a405a5e9
2019-10-01 14:57:43 -07: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
Sunny Goyal
e84c5b82be
Unifying activity tracker callback
...
> Using a common class for both Launcher and RecentsActivity
> Removing static refenrece to LauncherModel and using a common pattern for
tracking activities
Bug: 141376165
Bug: 137568159
Change-Id: Ic1897abe6913ec78e25725118eedf5b468d5ec70
2019-10-01 13:54:26 -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
Vadim Tryshev
f7a2971530
Merge "Waiting for Launcher model load in out-of-proc tests." into ub-launcher3-master
2019-10-01 18:43:24 +00:00
vadimt
542b7df7fd
Waiting for Launcher model load in out-of-proc tests.
...
Not doing this seems to have caused flakes.
Bug: 141770616
Change-Id: Ia9caf20e4a2d93298adf4249ca815ad79bced802
2019-10-01 17:46:35 +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
44151960bf
Revert "Revert "Revert "cache shourtcut image"""
...
am: 52908c9adc
Change-Id: I597a9e3a314887b668f482e74a4d2f548cca1da9
2019-10-01 10:09:11 -07: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
Vinit Nayak
a62de7aa88
Merge "Set exclusion rect for launcher before it gains focus" into ub-launcher3-master
2019-10-01 15:54:05 +00:00
Sunny Goyal
045b4fab76
Removing static listeners from PackageInstallerCompat
...
Bug: 141376165
Change-Id: I2b49d53a05a04c622ed5a7b723109a6cc230d230
2019-09-30 23:17:15 -07:00
Vinit Nayak
9a8462117d
Set exclusion rect for launcher before it gains focus
...
Back gesture still shows if user attempts to swipe
back while we're animating to launcher state normal.
Focus is only granted after the animation has
completed, but the user can interact w/ the back
edge panels while it's ongoing.
fixes: 138622418
Test: Open app, swipe home and quickly swipe from
the edge of the screen. Should go to -1 screen and
not see back arrow.
Change-Id: I32228370c7ec1bdb75474fdff2d1c99cb677fa6a
2019-09-30 16:04:57 -07:00
Pinyao Ting
d843673434
Merge "removed extra test protocol for unit test" into ub-launcher3-qt-future-dev
...
am: d8aef47393
Change-Id: I0d69c2ec0e3d693d4556314fd1b74dabd0a8cbd2
2019-09-30 13:54:36 -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
4d342406a2
Merge "Adding debug tracing for a flake" into ub-launcher3-qt-qpr1-dev am: 1a02173321
...
am: 10b1414778
Change-Id: I4e56e1f19f1eb3d48eb93978d0e544d7a26efc1d
2019-09-28 01:14:54 -07: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
Samuel Fufa
ffec89f6da
Merge "Fix notification dot scale in AllApps with grid size enabled" into ub-launcher3-qt-future-dev
...
am: 989c9f8b17
Change-Id: I9144ec804ee1c57de6b96ad295d07eb0fcab8a22
2019-09-27 15:27:19 -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
Samuel Fufa
db202abe4e
Merge "Fix ScrimView caret alignment and ignore touches" into ub-launcher3-qt-future-dev
...
am: d69327e9c0
Change-Id: Ia19d766bdeb5d2a4023b1c408bddfe30e4de4dac
2019-09-26 17:38:25 -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
Samuel Fufa
0659400dcb
Merge "Drag and drop preview size for BubbleTextView" into ub-launcher3-qt-future-dev
...
am: ecee887d1a
Change-Id: I546cfa34058c3dff49ebef4ddc24c0fb8ef0d77d
2019-09-26 12:49:21 -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
TreeHugger Robot
a5eef260c6
Merge "Include following chagnes to custom widget plugin" into ub-launcher3-master
2019-09-26 18:56:01 +00:00
Pinyao Ting
7849482354
Include following chagnes to custom widget plugin
...
1. removed unsupported methods
2. auto-generate providerId
3. piggy-back context for the plugin to resolve resources
Bug: 139888225
Change-Id: If5014099eb80efd64025230037aae3d6079b69a0
2019-09-26 11:40:11 -07:00
TreeHugger Robot
79091b6eff
Merge "Fixing some robolectric tests" into ub-launcher3-master
2019-09-26 18:16:40 +00:00
Sunny Goyal
cf845f0dbf
Fixing some robolectric tests
...
Bug: 131115553
Bug: 141576665
Bug: 141577881
Change-Id: Idb7e9346f57fea1d0231391477fdd11ad6b96a5c
2019-09-26 18:06:28 +00: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