Commit Graph
60459 Commits
Author SHA1 Message Date
Sunny Goyal 311f8badcb Enabling plugins on Launcher debug builds
Test: Verified on device
Change-Id: I1ffeee62ad96b18ee8006349afaf14b067f56a69
2021-01-27 17:17:19 +00:00
Lucas Dupin 29cd327066 Inherit theme colors on app drawer and folder
This way, changes on Theme.DeviceDefault will be reflected on launcher
as well.

Bug: 173561945
Test: visual
Change-Id: I297560253242476f34c47fcd845c44e96873a8b2
(cherry picked from commit fc82c5a920)
2021-01-27 16:24:58 +00:00
Issei Suzuki 66f287dba0 Make keyguard exit animation to remote animation.
The change is disabled by default. To enable remote animation, one needs
to set a property and to restart the WMS.

% adb shell setprop persist.wm.enable_remote_keyguard_animation 1
% adb shell stop && adb shell start

Test: Existing tests pass.
Bug: 175686676

Change-Id: I1cd6a86c2c7eb0a2bd09eb3dae4f408fe32f4254
2021-01-27 16:27:25 +01:00
vadimt 0b8e16e2cb Showing DWB remaining time for work profile apps
Test: manual
Bug: 170441505
Change-Id: Idb305adb028c897ddafd2255c1f7c34417c16968
2021-01-26 19:39:26 -08:00
Lucas Dupin 5e78ed84a9 Merge "Inherit theme colors on app drawer and folder" 2021-01-27 02:55:21 +00:00
TreeHugger Robot 4e6dff5d29 Merge "Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag" 2021-01-27 02:21:35 +00:00
TreeHugger Robot f5df9fa1ae Merge "Fix some issues with TwoButtonNavbarTouchController" 2021-01-27 02:16:03 +00:00
android-build-team Robot 3a8232d600 Snap for 7105071 from f1db62cc98 to sc-v2-release
Change-Id: I9c049efd647263efd251a616c13fcd351955549f
2021-01-27 02:07:52 +00:00
android-build-team Robot 58b7a53c69 Snap for 7105071 from f1db62cc98 to sc-release
Change-Id: I37f945115614e84c69a3701b21223c3eae03cee0
2021-01-27 02:07:27 +00:00
android-build-team Robot 54f986707b Snap for 7104876 from b453ef7621 to rvc-qpr3-release
Change-Id: Ia67f8a4319b390b8543e5283af2b93ab6a36c978
2021-01-27 00:31:08 +00:00
Tony Wickham a24b9ff69d Fix some issues with TwoButtonNavbarTouchController
- Use same swipe height as the tests use to get to Overview
- Use mStartState instead of fromState when determining
  target state, to disallow swiping through states, i.e.
  from NORMAL to OVERVIEW back to NORMAL in one long swipe
  up gesture. Instead, now swipe up from NORMAL goes to
  OVERVIEW and swipe up from OVERVIEW goes to NORMAL.

Fixes: 177316094
Change-Id: Ic8e9c8650d4cf11eec344802e3569413bfd5d7bc
2021-01-26 15:50:23 -08:00
Lucas Dupin fc82c5a920 Inherit theme colors on app drawer and folder
This way, changes on Theme.DeviceDefault will be reflected on launcher
as well.

Bug: 173561945
Test: visual
Change-Id: I297560253242476f34c47fcd845c44e96873a8b2
2021-01-26 15:06:11 -08:00
Hyunyoung Song 650fe52313 Turn ENABLE_DEVICE_SEARCH to DeviceConfig flag
Change-Id: I6e161bf36b315613bd2f13886cf4ef50470469b0
2021-01-26 13:39:27 -08:00
Samuel Fufa f1db62cc98 Merge " Introduce feature education for AllApps Search" 2021-01-26 21:03:31 +00:00
Jon Miranda f12b9a4b4e Fix bug where dragview gets stuck on screen. am: b453ef7621 am: 25178c55b2
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id4b6341e88455d52ab3e6caec58b397048822755
2021-01-26 19:23:29 +00:00
Jon Miranda 25178c55b2 Fix bug where dragview gets stuck on screen. am: b453ef7621
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13407365

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I636aef61403f44fd27898d74d2b857fd14f9ffc2
2021-01-26 18:41:40 +00:00
Jon Miranda b453ef7621 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
(cherry picked from commit 6fa63473e1)
2021-01-26 15:35:35 +00:00
Alex Chau 417bd72b71 Revert "Use Diplay.getMetrics in DisplayController"
This reverts commit acfac6187d.

Reason for revert: b/176656141

Bug: 176656141
Change-Id: Ic28e50779811d18450000efc2cdfd8184a931bbb
2021-01-26 15:23:20 +00:00
linalex 0646238ab4 [DO NOT MERGE ANYWHERE] Add swipes left method in Background.java
Bug: 153276032
Test: TF_GLOBAL_CONFIG=/google/src/cloud/<ldap>/<workspace>/google3/wireless/android/test_tools/forrest/configs/local-host-config.xml \
pts-tradefed run commandAndExit cuj/<testname> \
--primary-abi-only \
--log-level verbose --log-level-display verbose \
--wifi-network GoogleGuest

Change-Id: Ib1cbc609f47a547f173e8170f00af9e8bdfa77bb
(cherry picked from commit 8492c67639)
2021-01-26 04:58:49 +00:00
android-build-team Robot 33933bb7ca Snap for 7102381 from e9d970106c to sc-v2-release
Change-Id: I62e4cebc06ce2be90e8fe231289c936f48f71362
2021-01-26 02:07:35 +00:00
android-build-team Robot 31517cbce8 Snap for 7102381 from e9d970106c to sc-release
Change-Id: I73d8a7df391eb91320e786c9d759104807acc1c8
2021-01-26 02:07:27 +00:00
Samuel Fufa e9d970106c Merge "Consolidate Search result UIs" 2021-01-25 22:33:42 +00:00
TreeHugger Robot 5bcf86cfc2 Merge "Fix bug where dragview gets stuck on screen." 2021-01-25 22:21:30 +00:00
Samuel Fufa 062a8fd979 Introduce feature education for AllApps Search
Preview: https://drive.google.com/file/d/1eXf3K6kFh0bHcYlpwW_voSRjY9RQalJN/view?usp=sharing&resourcekey=0-IABjrtXM5JhHvSf-7yc4tg

Edu can be dismissed permanently by pressing "Got it" button or typing. Swiping down defers edu until next visit to all apps

- Move fallback search to quickstep
Bug: 178100472
Test: Manual

Change-Id: I920aab366330758e81f8b9fa62736abf82fe5cac
2021-01-25 15:17:34 -06:00
Jon Miranda 6fa63473e1 Fix bug where dragview gets stuck on screen.
* Since the BubbleTextViews views do not have a listener, the long press
  was still getting triggered even though it was in a pressed state.
* We only trigger long press if the view is not pressed or if there is no listener.
* A listener is only added for widgets, and for long press wiidgets are not
  pressed state.

Bug: 162636845
Test: manual test, repo steps in bug
Change-Id: Ia9df12cf31a0844403d69ddacebf2bdbc5c59d3b
2021-01-25 15:33:50 -05:00
android-build-team Robot 01369338e6 Snap for 7101549 from 745272111c to sc-v2-release
Change-Id: Ib9fefd5a4146562fd7012329f8cf5b95c414ddb5
2021-01-25 20:00:00 +00:00
Samuel Fufa c282018765 Consolidate Search result UIs
- Allow SearchAction to be represented by SearchResultIcon and SearchResultIconRow
- Fix tap enter to launch regression
- Remove Plugin Pipeline

Bug: 177223401
Test: Manual
Change-Id: Id1d445f6af3f80f840d567165051188c78230ed0
2021-01-25 12:46:05 -06:00
Jonathan Miranda 9acabb8199 Merge "Fix IllegalArgumentException for Float.NaN in ClipIconView." 2021-01-25 18:30:55 +00:00
Tony Wickham e631b759f9 Merge "Add empty Taskbar views and initial TaskbarController" 2021-01-25 17:27:29 +00:00
android-build-team Robot 19f2516962 Snap for 7100739 from 745272111c to tm-release
Change-Id: I957f5cd5cf1378cbdeb70575f01111699feb4edf
2021-01-25 10:07:52 +00:00
android-build-team Robot 689e4626f6 Snap for 7099352 from 745272111c to sc-release
Change-Id: I145fd4fc904e33c612eb2c5508b2ebab00b842b5
2021-01-24 00:07:21 +00:00
Tony Wickham f26e90aa35 Add empty Taskbar views and initial TaskbarController
Guarded by a FeatureFlag.

Bug: 171917176
Change-Id: I7145c7ae68282bf53552502798fe758c8c0e285d
2021-01-22 15:39:46 -08:00
Jon Miranda 8f09aa3438 Fix IllegalArgumentException for Float.NaN in ClipIconView.
Bug: 173703326
Test: not able to repo bug but this prevents the code from
      executing in bad case
Change-Id: I3701c040e72e6ce37a624b10bb82b2200935e283
2021-01-22 17:49:36 -05:00
Ashwini Oruganti 745272111c Add FLAG_IMMUTABLE to PendingIntent
PIs need a mutability flag on creation. See go/immutable-pendingintents for more context.

Change-Id: I7ac6a76fd501f36adddfd5bf85f0216a37fa9637
Test: TH
2021-01-22 22:17:25 +00:00
android-build-team Robot 57b36d4dac Snap for 7095583 from 9b9919d2be to sc-release
Change-Id: I823b0eceb16169475437124ac72533b2a142d2c0
2021-01-22 02:11:53 +00:00
Sreyas b454862005 Refactoring startShareActivity to allow crop to be passed in.
This is necessary to start a share activity based on a single image from Launcher.
Bug: 169772466, 169799864

Change-Id: I8a2baaa978a83f289e558dcd5d9be5ca6a164b2f
2021-01-21 15:31:05 -08:00
android-build-team Robot ec0b38e420 Snap for 7094790 from 867b62a2d0 to tm-release
Change-Id: If1646aa939737121a1a34bacb576db4259608c0b
2021-01-21 19:06:53 +00:00
Schneider Victor-tulias 9b9919d2be Merge "Add check to prevent adding duplicate pending install icons onto the worksapce." 2021-01-21 18:39:28 +00:00
android-build-team Robot 0913de7aa2 Snap for 7093326 from 867b62a2d0 to sc-release
Change-Id: I34d4d59e095d13f28cebc4e3844b99423d4d9fe2
2021-01-21 02:13:19 +00:00
android-build-team Robot 371d8c2298 Snap for 7092999 from 5662a653da to rvc-qpr3-release
Change-Id: I8699f78c1ea4962bd15e0ff86daa2111c381f5d1
2021-01-21 00:07:55 +00:00
Schneider Victor-tulias e824438570 Add check to prevent adding duplicate pending install icons onto the worksapce.
Test: manual

Change-Id: Ifa1bbe39278a7a4f7a385204efcbb815c2a59ca3
2021-01-20 14:48:40 -08:00
Alex Chau 867b62a2d0 Merge "Update RecentsActivityRotation when device rotate" 2021-01-20 22:40:44 +00:00
Alex Chau df449d71e9 Update RecentsActivityRotation when device rotate
- When rotating device, RecentsOrientedState.setRecentsRotation is called without updating mRecentsActivityRotation, leaving a stale orientation to be used by other components

Bug: 176913754
Change-Id: Ieb7b6cd31a6f77809ac6d222b8d0d68d6015ce01
2021-01-20 20:07:55 +00:00
Alex Chau 47da250137 Merge "Ensure setRequestedOrientation is called when unfolding the device" 2021-01-20 19:58:24 +00:00
TreeHugger Robot 98414351b8 Merge "Do not apply shadows to app window if target is transluscent." 2021-01-20 19:02:16 +00:00
TreeHugger Robot f56efc0187 Merge "Adding debug tracing for Device.wait" 2021-01-20 18:58:21 +00:00
Vadim Tryshev 9e86e3b89d Merge "Removing automatic failure investigator" 2021-01-20 18:46:42 +00:00
Tony Wickham 9dbcc4b219 [automerger skipped] Separate TaskView translationX into dismiss + offset translations am: 5662a653da am: f677930374 -s ours
am skip reason: skipped by user twickham

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/13370324

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Id5b370bfcca6fdafdf0b807b3093a2366da1663e
2021-01-20 18:45:35 +00:00
TreeHugger Robot c32fa4bce0 Merge "Correctly generating heap dumps for OOP tests" 2021-01-20 18:45:11 +00:00
Jon Miranda d772198157 Do not apply shadows to app window if target is transluscent.
Bug: 148938447
Test: Open disabled work profile app. Swipe away to close.
Change-Id: I54fabbe06615cf2f492c1a4aa68b597b5d132584
2021-01-20 11:52:50 -05:00