Commit Graph

19360 Commits

Author SHA1 Message Date
Winson Chung e069291ecd Trigger heap dump when heap exceeds a limit
Bug: 135150619
Change-Id: I2b207bed1f66407f573abeae879aae34e98741bd
2019-06-19 11:58:30 -07:00
Greg Kaiser 6aabe679c5 Android.mk: Strictly order QuickStepGo and GoIconRecents
We had Launcher3QuickStepGo adding Launcher3GoIconRecents to
LOCAL_OVERRIDES_PACKAGES, and also had Launcher3GoIconRecents
adding Launcher3QuickStepGo to LOCAL_OVERRIDES_PACKAGES.  As
a result, if both of these got added to PROJECT_PACKAGES, we
would end up with neither launcher, since they both overrode
each other.

To fix this, we declare a strict hierarchy.  Since
Launcher3GoIconRecents is the default, we put Launcher3QuickStepGo
to be higher in the hierarchy.  While that might seem a
counter-intuitive choice, it makes it much easier for folks
to override the default, without needing to modify the file
containing the default.

Test: Various clean builds which revealed this root issue, and this fix.
Bug: 135161289
Change-Id: If718a7030aa6ee4b6b952406006abda77b1eb8e5
2019-06-18 17:36:53 +00:00
Rajeev Kumar 873759a316 Merge "Add QuickstepProcessInitializer back to common src" into ub-launcher3-qt-dev 2019-06-18 12:09:55 +00:00
Winson Chung 398184c104 Adding check for no default home before registering new receiver
Bug: 135473571
Test: Manual, try restarting with no default launcher set?
Change-Id: Ibb68070ee95ca856b38a74823bcbfbc7890f329e
2019-06-18 01:21:44 +00:00
Kevin 71f06807a4 Add QuickstepProcessInitializer back to common src
While removing unused files in Go version of quickstep, I removed
QuickstepProcessInitializer which seemed unused but is actually
initialized as a resource based ovverride. This CL puts it back as
common src so that both Launcher3GoIconRecents and the rest of the
variants all use this class.

Bug: 135472635
Test: Run Launcher3GoIconRecents => no exception
Test: Run Launcher3 => no exception
Change-Id: I56f319bac536ec4da96285fab932fe574afa4520
2019-06-17 17:22:56 -07:00
TreeHugger Robot e1abaa64c2 Merge "TaskThumbnailView - post updates to overlays." into ub-launcher3-qt-dev 2019-06-17 23:02:18 +00:00
Vadim Tryshev 074b1434ae Merge "Enabling tests in landscape mode" into ub-launcher3-qt-dev 2019-06-17 22:53:27 +00:00
Zak Cohen 5095684e22 TaskThumbnailView - post updates to overlays.
Post the update of the overlay to handler.
No way of knowing if an overlay will add / remove views during the update
so assume its not safe to do in layout.

Bug: 135287203
Test: manual
Change-Id: I7bd0c86da096e7108b71b2d0530e99ee950d6f2e
2019-06-17 15:27:28 -07:00
vadimt 06d30e54d5 Enabling tests in landscape mode
Bug: 121280703
Change-Id: I3245ca8d0b0496035658ce2a602882a62942f3f1
2019-06-17 15:13:25 -07:00
vadimt 921163a3e8 Restoring wait time 1 min
Apparently, some tests fail with 10 sec

Bug: 133765434
Change-Id: I13fc39c42c665675d15a66da99454e05387c11f4
2019-06-17 13:24:40 -07:00
Hyunyoung Song f46e3956dd Merge "Fix HOME/RECENTS/BACK duplicated, missing logging" into ub-launcher3-qt-dev 2019-06-14 22:08:48 +00:00
vadimt ce04131f1a Improving TAPL diags
Change-Id: Iee84b64618eebf80f755575c2d27660c12e9d7c2
2019-06-14 11:46:12 -07:00
Sunny Goyal 0868f0d3a8 Snap window in Y direction when using quickswitch
if the y threshold is not crossed

Also updating various touch thresholds to properly respect density
changes

Bug: 135214165
Bug: 132915522
Change-Id: Ifba371afd0c20790390a3bd37065cd7162d128df
2019-06-14 11:28:39 -07:00
Sunny Goyal b030e5162c Merge "Adding null check before accessing shortcut extras" into ub-launcher3-qt-dev 2019-06-14 17:50:10 +00:00
Winson Chung dfbb964dcc Merge "Always use the locked input consumer when showing activity over lockscreen" into ub-launcher3-qt-dev 2019-06-14 17:18:07 +00:00
Sunny Goyal b223cc857b Adding null check before accessing shortcut extras
Bug: 135257548
Change-Id: I1ecc296967a39eb73a60e71a4b1962b92298f327
2019-06-14 07:56:32 -07:00
Winson Chung 4c59ddae35 Always use the locked input consumer when showing activity over lockscreen
- When there is no activity over the lockscreen, the validSysuiFlags
  check already prevents falling into the base input consumer creation logic.

Bug: 131698448

Change-Id: I7154bc08db819574b78d375e3f9a36e610466dbc
2019-06-13 22:33:29 -07:00
Vadim Tryshev 0d5bd65e6e Merge "After switching nav mode, wait for the sysui mode to sync" into ub-launcher3-qt-dev 2019-06-14 01:53:26 +00:00
vadimt 5ad52ec092 After switching nav mode, wait for the sysui mode to sync
Bug: 133867119
Change-Id: I0290753aa295bc3167e1d396cedd410c77413579
2019-06-13 18:42:25 -07:00
TreeHugger Robot 924a96651d Merge "Import translations. DO NOT MERGE" into ub-launcher3-qt-dev 2019-06-14 00:33:36 +00:00
TreeHugger Robot 89e9203bef Merge "Notifying widgets to use dark text when rendered on light wallpaper" into ub-launcher3-qt-dev 2019-06-13 22:15:04 +00:00
Sunny Goyal df7abe1040 Notifying widgets to use dark text when rendered on light wallpaper
Bug: 109954539
Change-Id: Ifab21626a070c35b351ea99ea3f09f3bf2230d19
2019-06-13 15:07:20 -07:00
TreeHugger Robot ec5561060b Merge "More tracing for app not starting from all apps" into ub-launcher3-qt-dev 2019-06-13 21:22:14 +00:00
vadimt f02bef7345 More tracing for app not starting from all apps
Bug: 132900132
Bug: 134172603
Change-Id: I6a85e616552e84b8165661d25ed4330f55d3946f
2019-06-13 14:05:17 -07:00
Vadim Tryshev c0893bc33e Merge "Switched scrolling in all apps to the model-time scrolling" into ub-launcher3-qt-dev 2019-06-13 20:56:55 +00:00
Jonathan Miranda 8f3f2f33d3 Merge "Preloads the icon drawable for app open to reduce latency b/w swapping views." into ub-launcher3-qt-dev 2019-06-13 20:41:16 +00:00
vadimt 91cd0b78e6 Switched scrolling in all apps to the model-time scrolling
Plus, removed unnecessary code.

Bug: 132900132
Change-Id: Ia6ebca15e4e8730787bfe782dbdd83bbe9186ee6
2019-06-13 13:35:01 -07:00
Jon Miranda 6dfa312896 Preloads the icon drawable for app open to reduce latency b/w swapping views.
For app close, we already load the icon as soon as we can.

Bug: 135130011
Change-Id: Ia2c45737cf24d1ab5911b222ae097d7a1f9d6a31
2019-06-13 13:17:25 -07:00
TreeHugger Robot 552b3fe811 Merge "Optimizing some layouts in taskview" into ub-launcher3-qt-dev 2019-06-13 19:09:00 +00:00
Winson Chung 6e25a9d831 Fix issue with screen pinning check not apply in 2 button
Bug: 130687624
Test: Ensure you can't swipe up with screen pinning enabled in 2 button
Change-Id: I6635a9639262a4e96a104960eb5fbb3acaba8af7
2019-06-13 11:44:44 -07:00
Sunny Goyal 5b636ebfd4 Optimizing some layouts in taskview
> Recycling DigitalWellBeingToast so that the view is not inflated everytime
> Simplifying DigitalWellBeingToast to use a single text view
> Adding support for footers in taskView without creating additional layout

Bug: 122345781
Change-Id: Ia889819b93eb8644532ea95c6767554874d5e2d1
2019-06-13 10:39:46 -07:00
Bill Yi 94c22cb4d6 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 64712476
Change-Id: I0d9465551d819e650a05175aea087bb9e3423c96
2019-06-13 08:55:36 -07:00
Hyunyoung Song 2a70b3d6aa Fix HOME/RECENTS/BACK duplicated, missing logging
Bug:132906035

Double logging onResume when Launcher resumed via back
Double BACK logging when in taskswitcher state

Change-Id: I44233339b238b6bee32ec2c7b0de4908b2556566
2019-06-12 17:11:24 -07:00
TreeHugger Robot 3d6e96d526 Merge "Adding support for custom callback when starting ProxyActivity" into ub-launcher3-qt-dev 2019-06-12 23:16:59 +00:00
Tony Wickham 964d164709 Merge "Gracefully handle failed task launches during quick switch" into ub-launcher3-qt-dev 2019-06-12 22:59:35 +00:00
TreeHugger Robot f97355a145 Merge "Expose getTaskView to Overlays." into ub-launcher3-qt-dev 2019-06-12 22:52:46 +00:00
Zak Cohen 3827b3afd3 Expose getTaskView to Overlays.
Test: Manual
Change-Id: Ie8583606e65f9a77536de4a7cbd1aa3d88e81e1e
2019-06-12 15:40:54 -07:00
Vadim Tryshev 643007d613 Merge "Not using settings app in tests" into ub-launcher3-qt-dev 2019-06-12 22:40:26 +00:00
Sunny Goyal 16284b956c Fading out the home surface if home and recents are shown in separate surface
Bug: 134725160
Change-Id: Ia4c5e0eefc4d8b869840645f403d943831c471f1
2019-06-12 15:28:23 -07:00
vadimt 87fbd33a37 Not using settings app in tests
Change-Id: I7542dab07a0d5a76cc90f4b5eee0d376b5d8ca11
2019-06-12 15:26:27 -07:00
Tony Wickham e8836dc082 Gracefully handle failed task launches during quick switch
When quick switching from home or overview, go to OverviewState if the
task launch failed. Otherwise we get stuck in BackgroundAppState.

Bug: 135038270
Change-Id: I42785c261cef0df95666bc106ec5ca6ef0553cc7
2019-06-12 15:24:58 -07:00
Sunny Goyal 022b182634 Updating consumed insets when dispatching to child views
Bug: 134963243
Change-Id: I4fa072128398cfd22b906037c6c444495781c9d0
2019-06-12 12:15:16 -07:00
TreeHugger Robot c9e6f23658 Merge "Resetting taskView alpha to proper value onAnimationEnd" into ub-launcher3-qt-dev 2019-06-12 19:03:33 +00:00
Sunny Goyal c8502c1df5 Do not rebind when when deviceProfile has not changed
This avoids UI flicker when using fakeLandscape UI during swipe-up animation

Bug: 131360075
Change-Id: I651e0acb79b54be66b93c746eed6e9b099f2f767
2019-06-12 11:25:26 -07:00
TreeHugger Robot a273eafec4 Merge "Initializing ActivityManagerWrapper before device unlock" into ub-launcher3-qt-dev 2019-06-12 18:22:12 +00:00
TreeHugger Robot 89e8e955cb Merge "Removing unused method" into ub-launcher3-qt-dev 2019-06-12 18:19:32 +00:00
TreeHugger Robot 98cf5545e5 Merge "Saving instance state so that widget cache is updated properly before rebind" into ub-launcher3-qt-dev 2019-06-12 18:15:22 +00:00
TreeHugger Robot 329097b179 Merge "Bypass systemstate check when using shared state" into ub-launcher3-qt-dev 2019-06-12 18:03:26 +00:00
Tony Wickham 503f46185a Merge changes I0b96f623,I019084a1 into ub-launcher3-qt-dev
* changes:
  Fix double swipe on nav bar from an app
  Fix state/anim clobbering when touching down during recents animation
2019-06-12 17:50:16 +00:00
TreeHugger Robot 58dc1cfc61 Merge "Merge branch 'ub-launcher3-qt-r1-dev' into ub-launcher3-qt-dev" into ub-launcher3-qt-dev 2019-06-12 17:40:06 +00:00