Commit Graph

33301 Commits

Author SHA1 Message Date
Hyunyoung Song 4d9ad3a196 Cleanup LoggerUtils
Change-Id: Ibeccb61b25236ee905f61bdb5ea2255f778d4b05
2020-03-23 13:57:10 -07:00
Jon Miranda 4848604882 Polish badge animation on app open/close.
Create new ClipIconView so that the adaptive icon foreground/background can
get clipped properly, and the badge gets drawn separately on top of it.

Bug: 142105172

Change-Id: Ie5d65c20f845d9219fd01daa383f273dde0e096c
2020-03-23 12:24:04 -07:00
Joshua Tsuji d763a40b7a Ignore system gestures while bubbles are expanded.
This flag is set by System UI in ag/10760162, when bubbles are expanded. We want to disallow system gestures from starting when bubbles are expanded, since otherwise a swipe up will both close the bubbles, and the app behind them.

Test: install launcher, add bubbles, open an app, expand bubbles, observe that swiping up only closes bubbles
Test: same but in three button nav, home button should both close bubbles + the app behind it
Bug: 146167884
Change-Id: I27ed225d2029e3cb82f4959739c7b6f25fe8adb7
2020-03-23 15:05:45 -04:00
TreeHugger Robot 7a84dd66f6 Merge "Parse share-targets defined by non-main activities" into ub-launcher3-master 2020-03-23 18:27:27 +00:00
Pinyao Ting d25023b05e Parse share-targets defined by non-main activities
Some system apps do not have any launcher icons but want to publish
sharing shortcuts. As a fix, all activities are parsed for their XML
resource, which implies some of these shortcut may not hold an
activity. This CL removes that assumption from launcher side.

Bug: 136353429
Test: Manual test
Change-Id: I2994da17fe078b2fab61a614c1326fddd5fd8571
2020-03-23 17:49:34 +00:00
Sunny Goyal 6e379fc784 Removing animation when stripping empty pages, as the animation is
run by LayoutAnimation already

Bug: 151978739
Change-Id: I75b9055c3e862a6813164cce6c1ba7b2fe1f870a
2020-03-23 01:50:55 -07:00
android-build-team Robot 752b034481 Snap for 6321095 from 70e0b888b6 to mainline-release
Change-Id: Ie3beba6b0341fb9a4ffa40a5f6a7b65ec5aaec6d
2020-03-22 07:08:22 +00:00
android-build-team Robot 2e2b24353f Snap for 6320579 from 6b516bd63e to rvc-release
Change-Id: I9cb22482330552acdbe02e9e32ac70fe8384d4b6
2020-03-21 23:11:22 +00:00
vadimt 7a9f1628f2 Repeating unlocking the phone several times
Bug: 151613234
Change-Id: Id5cbc247d7827fa31c2011d817b2964c1486daeb
2020-03-21 15:09:39 -07:00
vadimt 7500c241ac Increasing wait time till unlock
Bug: 151613234
Change-Id: I47e0a87551cebf31fa309b9a65b2ecff809a7f00
2020-03-21 13:04:15 -07:00
TreeHugger Robot f3e40c321d Merge "Animate Work paused overlay" into ub-launcher3-master 2020-03-21 07:43:46 +00:00
Vadim Tryshev b66ba0bae7 Merge "Adding more checks around unlocking the phone" into ub-launcher3-master 2020-03-21 04:03:32 +00:00
Tony Wickham 7523c8bab0 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d am: 79aa1637a8 am: 70e0b888b6 am: b9a8f54a36 -s ours
am skip reason: subject contains skip directive

Change-Id: I43c9360ad9be56e76e0ed25b7b286e2ff01672f9
2020-03-21 03:55:09 +00:00
Tony Wickham c099124ecf [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 29c4e7949b am: 462f9fe0ad am: c6b1e463a2 -s ours
am skip reason: subject contains skip directive

Change-Id: Ia7ed25684b708209f531a908497d697a5f9bd05f
2020-03-21 03:55:02 +00:00
Tony Wickham c2f26c2a67 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d am: acad4f578b am: e43dedab9d -s ours
am skip reason: subject contains skip directive

Change-Id: I4b98d69c6652527ffb1834f20d68fd8063c6031a
2020-03-21 03:54:56 +00:00
Tony Wickham b9a8f54a36 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d am: 79aa1637a8 am: 70e0b888b6
Change-Id: Iea5b9aa90027e8a7ea0dcc4c3ad16ae9554cd3ab
2020-03-21 03:45:33 +00:00
TreeHugger Robot 6ae56860de Merge "Don't draw bottom scrim in fully gestural mode" into ub-launcher3-master 2020-03-21 03:43:52 +00:00
Tony Wickham c6b1e463a2 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 29c4e7949b am: 462f9fe0ad
Change-Id: I099b9c615f351aa6584fa647e0636b51e203cee1
2020-03-21 03:30:22 +00:00
Tony Wickham 70e0b888b6 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d am: 79aa1637a8
Change-Id: I28d71fb50d783cdddc50ecc212c72c7a3bdf1bc2
2020-03-21 03:30:06 +00:00
Tony Wickham e43dedab9d [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d am: acad4f578b
Change-Id: Ib495a1bca3192dbe0ca8fd00ca5c01d65dca2c6b
2020-03-21 03:30:01 +00:00
Samuel Fufa 1b373657a4 Animate Work paused overlay
Please see bug for video preview

Bug: 151408501
Test: Manual
Change-Id: Ic96bdc438b7c897c89261764dad16124006d7138
2020-03-20 20:19:03 -07:00
Tony Wickham 79aa1637a8 [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d
Change-Id: I05294a3b59df128859a84838c2a26b2bd12e679d
2020-03-21 03:13:26 +00:00
Tony Wickham 462f9fe0ad [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 29c4e7949b
Change-Id: I057a073622a0c5a19ea8e7b822930cfb51e90a19
2020-03-21 03:13:14 +00:00
Tony Wickham acad4f578b [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e am: 0869bbf43d
Change-Id: I2e92d3cacee2c3e2845e35401e60b6aee97ed41b
2020-03-21 03:12:51 +00:00
Tony Wickham 29c4e7949b [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e
Change-Id: Ibe2b0b5318210959e19de141c15dbc3926cbcd91
2020-03-21 02:59:45 +00:00
Tony Wickham 0869bbf43d [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours am: 6b516bd63e
Change-Id: I73c712c430d87d9998af657ede1dd94976a27c4f
2020-03-21 02:59:01 +00:00
Tony Wickham 6b516bd63e [automerger skipped] [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6 -s ours
am skip reason: subject contains skip directive

Change-Id: Ic81a7691c525dfefa0a144364953c20aede0a65c
2020-03-21 02:41:11 +00:00
Tony Wickham 6fa8c49ad5 [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims am: 3b5f2224c6
Change-Id: I430906d126f08ab77dc63e06462fc68ccfe18322
2020-03-21 02:40:51 +00:00
TreeHugger Robot 0ddd265fdb Merge "[Flake test] add state checks for WorkTabTest#testWorkEduIntermittent" into ub-launcher3-master 2020-03-21 02:14:49 +00:00
android-build-team Robot b3a41ee2f6 Snap for 6318458 from 39cbf97f64 to rvc-release
Change-Id: Ic13672f1a371aefb8bc0c54e44a4246730f23d8a
2020-03-21 02:05:08 +00:00
vadimt 330fde4aaf Adding more checks around unlocking the phone
Bug: 151613234
Change-Id: I045306cce2ce85d6895c9f050ebb4d2bd15ba232
2020-03-20 18:55:53 -07:00
Tony Wickham 81feb2c547 Don't draw bottom scrim in fully gestural mode
The scrim exists primarily to protect nav bar buttons which
don't exist in this mode.

Change-Id: Ic6de7d54f27f135eecb116ac09714c91c05b88da
2020-03-20 18:37:26 -07:00
Adam Cohen f946e0a5ee Merge "Refactor / Cleanup / Simplify a bunch of dnd related rendering / animation" into ub-launcher3-master 2020-03-21 01:27:08 +00:00
Adam Cohen 650869973a Refactor / Cleanup / Simplify a bunch of dnd related rendering / animation
Addresses:
=> Fix folder icon drop location mapping (was very far off)
=> Fix BubbleTextView drop animation shifted by a few pixels
=> Get rid multiple unnecessary calls to setDragMode(none), was breaking
   some of the reorder flow; still some issues to address here.
=> Fix folder icon parallax (didn't work when the folder had a dot)

Test: manual

Change-Id: I5959cf341996f75d30212353ec096ed25bf40ea5
2020-03-21 01:26:09 +00:00
Samuel Fufa cb6e713e00 Change work paused label font
Bug: 151405736
Test: Manual
Change-Id: I22c68fb998d84a19c1c57c968e76afac7242934b
2020-03-20 16:35:06 -07:00
Xin Li 985639b823 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: bc2c965574 -s ours am: 506335de19 am: 69afb6b861 am: a815250b76 -s ours
am skip reason: subject contains skip directive

Change-Id: Ifa7b6ec57c327f47b6007fcbe32299be00e12780
2020-03-20 23:24:29 +00:00
TreeHugger Robot 1af6be57c8 Merge "Disable battery defender to avoid locking during the test" into ub-launcher3-master 2020-03-20 23:20:57 +00:00
Xin Li a815250b76 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: bc2c965574 -s ours am: 506335de19 am: 69afb6b861
Change-Id: I917fde089ee793ae089d6a8d5a99375bfb80bc15
2020-03-20 22:33:36 +00:00
Tony Wickham 3b5f2224c6 [DO NOT MERGE] Support blacklisting live wallpapers from showing sysui scrims
Add wallpaper changed broadcast receiver to BaseDragLayer, which
checks if the new wallpaper is blacklisted and relays that to
remove the scrims.

Bug: 150144115
Change-Id: I55b7b98fdd419cd76532492461a872367efed67b
(cherry picked from commit d6f917f182)
2020-03-20 21:56:18 +00:00
vadimt 1b4247d9cd Disable battery defender to avoid locking during the test
Bug: 151613234
Change-Id: Id323025c1a3bb53cc39839aa2295fcd25436e68e
2020-03-20 14:26:31 -07:00
TreeHugger Robot 7d3a113d05 Merge "Work profile accessibility fixes" into ub-launcher3-master 2020-03-20 20:46:25 +00:00
Samuel Fufa 7f6baf9f60 [Flake test] add state checks for WorkTabTest#testWorkEduIntermittent
Bug: 151768149
Test: labtest
Change-Id: I676175629c60662763b26ce24eba4a361784fbeb
2020-03-20 13:28:00 -07:00
Andy Wickham b55d5b279b Merge "Adds back gesture recognition to Sandbox." into ub-launcher3-master 2020-03-20 20:23:16 +00:00
Winson Chung 925639d881 Merge "Fixing TouchInteractionService referring destroyed activity" into ub-launcher3-master 2020-03-20 19:04:26 +00:00
Samuel Fufa 45c3b10448 Work profile accessibility fixes
- Remove TextView and use work switches text
- Allow talkback to read recyclerview overlay

Bug: 151884799
Bug: 151803591
Bug: 151274763
Bug: 151585835
Test: Manual
Change-Id: Ieee0d37d0244eb12ecb923d710cbbd6a86281062
2020-03-20 11:52:03 -07:00
Evan Rosky 2a85b04ffd Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6 am: 2ddbe4c8af am: f7eb87cebd am: 66c4207b8a
Change-Id: I3a48e09dd8e6a86b201c2f683c4a7c209fe6ac81
2020-03-20 18:48:12 +00:00
Evan Rosky 14754e6e3a Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6 am: 4beb9d1338 am: 70ad7790e6
Change-Id: I853022e8ebfba9724d544beb795560757be7281c
2020-03-20 18:45:50 +00:00
Xin Li 69afb6b861 [automerger skipped] DO NOT MERGE - Merge qt-qpr1-dev-plus-aosp@6304901 into stage-aosp-master am: bc2c965574 -s ours am: 506335de19
Change-Id: Ia1c0e46ad6a624365dfeaff5788012dae31d7819
2020-03-20 18:45:17 +00:00
Evan Rosky 8bf64ae28a Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: b9958da552 am: d214ae4643 am: d90db91522
Change-Id: I11ae95de8143b7e90badf4ac222af2a113df5234
2020-03-20 18:45:16 +00:00
Evan Rosky 66c4207b8a Merge "Update window threshold in both directions" into rvc-dev am: 39cbf97f64 am: c0eb6269c6 am: 2ddbe4c8af am: f7eb87cebd
Change-Id: I30ad926d5c45cdcb2ddae32e67e4b5c0cd561884
2020-03-20 18:42:47 +00:00