Commit Graph

377 Commits

Author SHA1 Message Date
Colin Cross
e656874137 Merge "Merge "Set min_sdk_version for SystemUISharedLib" am: ce2417fa9c" into stage-aosp-master am: 0bda334b4f
am: 1918e5cb87

Change-Id: I81f2cb5421671c310d01819b375ff3866dc6046e
2019-09-25 15:30:58 -07:00
Colin Cross
8e3c49d81e Merge "Set min_sdk_version for SystemUISharedLib"
am: ce2417fa9c

Change-Id: I175b6e39fd04f56faa03e3730144b49c1b14ef35
2019-09-25 15:07:22 -07:00
Colin Cross
6afa62024a Set min_sdk_version for SystemUISharedLib
Set min_sdk_version so that the manifest cant be merged into
Launcher3 when it is converted to Android.bp.

Test: mmma packages/apps/Launcher3
Change-Id: I28543d4be54aa789fbb452be005373239e1e0a6e
2019-09-17 16:00:21 -07:00
Mady Mellor
8e10394ccc qt-r1-bubbles-dev @ build 5835883
Test: presubmit setup on source branch

Bug: 126945401
Bug: 128932906
Bug: 129158983
Bug: 130237686
Bug: 130250809
Bug: 130442248
Bug: 131267438
Bug: 131609280
Bug: 131692350
Bug: 131849856
Bug: 133444037
Bug: 134064116
Bug: 134064858
Bug: 134070807
Bug: 134077101
Bug: 134090085
Bug: 134155107
Bug: 134423445
Bug: 134512898
Bug: 134514210
Bug: 134514227
Bug: 134734945
Bug: 134960381
Bug: 134989736
Bug: 135214687
Bug: 135280077
Bug: 135472021
Bug: 135475155
Bug: 135487618
Bug: 135488406
Bug: 135518045
Bug: 135633218
Bug: 136034310
Bug: 136150954
Bug: 136199542
Bug: 136538998
Bug: 137201711
Bug: 137213469
Bug: 137214359
Bug: 137214536
Bug: 137233453
Bug: 137876221
Bug: 138301618
Bug: 138445026
Bug: 138659213
Bug: 138749133
Bug: 138799651
Bug: 138801505
Bug: 138941969
Bug: 139002444
Bug: 139025304
Bug: 139816141
Change-Id: Ic3a4ba793db7f1361678ef51c411d9eab85d9b85
Merged-In: Ic271a6a0f0803941dd5a84124dabf4d8c5fcc755
2019-09-09 21:48:30 +00:00
Hongwei Wang
c55e4e668f Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
am: f8108f81cc

Change-Id: Ibc491beb050da96ea742194c0f539d44c46f845b
2019-08-14 14:31:18 -07:00
Hongwei Wang
fc07801e47 Merge "Enables back gesture nav in screen pinning" into qt-r1-dev
am: f8108f81cc

Change-Id: I11b8a95d9ead5ef6b70b5dff0bcfbd85c03489b2
2019-08-14 14:29:47 -07:00
Hongwei Wang
c0cc6218aa Enables back gesture nav in screen pinning
Bug: 138969972
Test: Back gesture in screen pinning mode
Change-Id: I0ddb7a6e7978e7ec82d7949048e75147c5ece3c8
2019-08-13 10:50:43 -07:00
Adrian Roos
15195e080b GestureNav: Log exclusion rect heights
am: 5f2c9a14f5

Change-Id: I1486dc89e9502351961156b0f1094ef7ad77c45c
2019-08-05 14:19:15 -07:00
Adrian Roos
ad19429212 GestureNav: Log exclusion rect heights
am: 5f2c9a14f5

Change-Id: Ic64a4394729c416813888244639ee31a1bb24d70
2019-08-05 14:18:13 -07:00
Adrian Roos
5f2c9a14f5 GestureNav: Log exclusion rect heights
Logs the rejected and requested exclusion rect heights.

Test: adb shell device_config put android:window_manager key_system_gesture_exclusion_log_debounce_millis 1000
Bug: 135152789
Change-Id: Ie12640f4bf0a8b40b666e604188a0bedd85e8981
Exempt-From-Owner-Approval: DeviceConfig.java: Adding constant to WindowManager namespace.
2019-08-05 21:19:40 +02:00
Tracy Zhou
f36321fc91 Change RecentsAnimationListenerSet interface
Instead of passing a boolean value signaling whether to defer with
screenshot, we want to pass the actual screenshot to Launcher if that's
the case. Another change will follow to implement passing the screenshot
from the window manager.

Bug: 138683199
Test: N/A
Change-Id: If5956436641aa35ffac3122fb53d13366552e0f1
2019-07-31 12:16:40 -07:00
Winson Chung
3c5a6af058 Adding quick settings flag to sysui state
am: 5b6a1fe8a8

Change-Id: If364ed9139b5a5166a134dd01d04de47d78f6beb
2019-07-28 01:34:06 -07:00
Winson Chung
5b6a1fe8a8 Adding quick settings flag to sysui state
- We were previously ignoring the QS state for notifications expanded since
  we were only using that flag for gating whether to allow back. But since
  we also use the state for gating swipe up, we should be explicit and
  check that both notifications are hidden and we are not in QS.

Bug: 135969043
Test: Swipe into QS, ensure the state is set
Change-Id: Ia284938e32f54998bf7aba3a051de2b30cdc0e26
2019-07-28 05:29:59 +00:00
Vinit Nayak
f3d6fd2201 Merge "Prevent key removal on cache update" into qt-r1-dev
am: c1dc1facea

Change-Id: Iade07612e84421bbd8fc4cf6aad504ba327e7901
2019-07-26 09:26:29 -07:00
Vinit Nayak
3a9f1f547a Prevent key removal on cache update
Recent thumbnail cache keys were prematurely
deleted from the TaskKeyCache.

Test: atest SystemUITests:TaskKeyLruCacheTest

fixes: 111077107
Change-Id: I4d38ba1f69b4a4b9898e1951b68181f27f92c116
2019-07-26 01:20:14 +00:00
Winson Chung
7ff14a69cf Merge "Modify deferred recents animation cancel to work without screenshot" into qt-r1-dev
am: 48e3cfc06a

Change-Id: If607c33898a4a4ed75a3768ae1027507edfc0437
2019-07-23 22:25:45 -07:00
Winson Chung
48e3cfc06a Merge "Modify deferred recents animation cancel to work without screenshot" into qt-r1-dev 2019-07-24 05:14:05 +00:00
Winson Chung
21b327c2f1 Merge "Proxy search disabled flag to Launcher" into qt-r1-dev
am: 6d4d529fb1

Change-Id: Ib3531e499059531a695f8c50642ecdea92d97c5f
2019-07-23 21:20:07 -07:00
Winson Chung
cb6454e68a Proxy search disabled flag to Launcher
Bug: 137652372
Test: Just adding a flag
Change-Id: Ib1936dc0d2eed02bc2ef0dd7e091cbc4fa7af682
2019-07-23 15:55:10 -07:00
Winson Chung
7a545ae9cc Modify deferred recents animation cancel to work without screenshot
- Allow the recents animation runner to request deferring a cancel from
  stack order change until the next app transition start without using
  a screenshot. This allows launcher to set this state, then start an
  activity without a flash due to the animation not finishing immediately
- Always prepare a transition when using the deferred cancel to ensure
  an app transition callback
- Handle app transition canceled as well (if canceled, we continue to
  cancel recents the animation with/without the screenshot as requested)
- Remove internal lock and use the global WM lock when setting the defer
  cancel state
- Renamed a few methods to clarify the deferred cancel flow

Bug: 137196872
Test: atest FrameworksServicesTests:RecentsAnimationControllerTest
Test: atest WmTests:RecentsAnimationTest
Change-Id: Ie8f6f60b6bf6777e36f24749b30f90c8c26ee848
2019-07-23 15:50:33 -07:00
Sunny Goyal
4b1f82acdc Merge "Adding method to check if a task is running in home stack" into qt-r1-dev
am: 22110bae84

Change-Id: Ic5c6fc6838d4607f6571399ecc1fd77027231c13
2019-07-12 17:44:11 -07:00
Sunny Goyal
f5b03e0921 Adding method to check if a task is running in home stack
Bug: 137197916
Test: Verified on Launcher
Change-Id: I0260fa63e19bf7a22d81f44b56bd7e9818b19d16
2019-07-12 14:08:43 -07:00
Sunny Goyal
d3233bbadd Merge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev
am: 7d5da92740

Change-Id: I233a13933c0f48029f16acd1fadfb08bf0d3921d
2019-07-12 09:29:45 -07:00
TreeHugger Robot
7d5da92740 Merge "Autoenabling gesture mode only is the device is unmanaged" into qt-r1-dev 2019-07-12 15:47:36 +00:00
Sunny Goyal
56d145fef9 Autoenabling gesture mode only is the device is unmanaged
> Adding a protected broadcast to enable gesture mode

If the device is not managed, gesture mode will be wnabled once setup-wizard
finishes. Otherwise, it will wait for a protected broadcast from the device/profile
owner app which can switch the device to gesture mode.

Bug: 134473386
Test: Verified on device setup in device owner and profile owner mode
Change-Id: I7d32d5461eef19a30f323295c7a9bac975adbf91
2019-07-09 14:37:29 -07:00
Jorim Jaggi
54790a31bf Merge "Launch recents from main thread" into qt-r1-dev
am: 671ff72e46

Change-Id: I9eb1e6fb6e2786b30f1d200cb860c673d0598249
2019-07-09 06:14:14 -07:00
Jorim Jaggi
d6f0a5c243 Launch recents from main thread
Such that binder response inherits our nice scheduling
characteristics.

The old logic isn't really needed anymore, as we don't do anything
interesting on the main thread.

Test: Open app from recents
Fixes: 136111411
Change-Id: Ibfb0f60113bc0d9d94844ea4cde0e78723183eb2
2019-07-08 16:53:08 +02:00
davidln
a06b4b2fa5 Notify on task display change.
This is a targeted fix for not receiving a task stack change callback
when a task with a resumed Activity is reparented to another display.

Bug: 128932906

Test: manual - launch activity from virtual display onto default display
  in a new task, verify callback notified. atest WmTests
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
Merged-In: Idabad8379cded664bcf302d5c6fb69564d158eb7
2019-06-27 18:54:00 +00:00
davidln
eaeae1876e resolve merge conflicts of d2310e6ce3 to qt-r1-bubbles-dev
Bug: 128932906

Test: build
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
2019-06-26 18:23:20 -07:00
davidln
1ceedb55d0 Notify on task display change.
This is a targeted fix for not receiving a task stack change callback
when a task with a resumed Activity is reparented to another display.

Bug: 128932906

Test: manual - launch activity from virtual display onto default display
  in a new task, verify callback notified. atest WmTests
Change-Id: Idabad8379cded664bcf302d5c6fb69564d158eb7
2019-06-25 21:05:31 -07:00
Sunny Goyal
9b56610ac5 Merge "Using correct slop for checking quickstep gesture" into qt-dev am: 6f72636bb6
am: 7c3d6126bf

Change-Id: I3060ebf5980ead55c078e9ab6bcace9fc24d790a
2019-06-19 19:17:37 -07:00
Sunny Goyal
7c3d6126bf Merge "Using correct slop for checking quickstep gesture" into qt-dev
am: 6f72636bb6

Change-Id: I909f0cc2e32ba44664e88046529cc626a81c8a31
2019-06-19 18:35:24 -07:00
Sunny Goyal
c55bac635a Using correct slop for checking quickstep gesture
Bug: 135214165
Test: Compiles
Change-Id: I6d74b33fce31346086acfaba1b9ebfeed8f928e6
2019-06-19 12:11:52 -07:00
Sunny Goyal
1ead1fb639 Merge "Hiding home handle while on home in no-button mode" into qt-dev am: 702c5199f9
am: 29a2b1109c

Change-Id: I149d1ed6b90871e34f98bff8b3870eab19b1f36a
2019-06-17 18:41:22 -07:00
Sunny Goyal
29a2b1109c Merge "Hiding home handle while on home in no-button mode" into qt-dev
am: 702c5199f9

Change-Id: I4c6f425736ff84ed21d513b00ee16219240b4b74
2019-06-17 17:41:33 -07:00
TreeHugger Robot
702c5199f9 Merge "Hiding home handle while on home in no-button mode" into qt-dev 2019-06-18 00:10:17 +00:00
Sunny Goyal
c73ce70467 Hiding home handle while on home in no-button mode
> Unifying handling home and back button alpha logic

Test: go home, manual
Bug: 134381592
Change-Id: I93a72cc4ac252f2ced22216f14c50b074e9903c8
2019-06-17 12:50:24 -07:00
Issei Suzuki
734bc94c99 Handle process die event of a bubble activity gracefully.
When the process behind a bubble activity died (e.g. killed by lmkd,
or app crash), collapse the bubble and restart the activity when it's
expanded next time.

Bug: 126945401
Test: atest TaskStackChangedListenerTest
Change-Id: Ia2ee21f9ced51fe33756b1e12159f445d6ed083d
2019-06-14 11:21:25 +02:00
Jorim Jaggi
a8393c6b07 Merge "Trace sync rt transaction applier" into qt-dev
am: c6f5069668

Change-Id: Ifdfa1389a022a396167e606287485aabf7768c76
2019-06-13 16:29:14 -07:00
TreeHugger Robot
c6f5069668 Merge "Trace sync rt transaction applier" into qt-dev 2019-06-13 23:12:00 +00:00
Jorim Jaggi
84149044fd Trace sync rt transaction applier
Test: Trace
Bug: 134583193
Change-Id: I00c2863f954e4c991d684ce4220380573db4d749
2019-06-13 21:45:14 +02:00
Matt Pietal
e43cea0622 Merge "GlobalScreenshot - Fix race condition" into qt-dev
am: 0ebf0252e0

Change-Id: Idd450a77f83c91b50e706b17ef3fb123c000a779
2019-06-11 17:12:33 -07:00
Matt Pietal
777c82d9b7 GlobalScreenshot - Fix race condition
It is possible for the call to system windows to occur slightly after
the ChooserActivity gets launched, therefore preventing it from ever
showing. Wait on the future before attempting to launch the activity.

Bug: 134976976
Test: Screenshot, then share over and over
Change-Id: Iba98a079412f8e35643f3a1db04e749b3c654637
2019-06-11 15:50:54 -04:00
Winson Chung
8533a4cc62 Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev
am: c8120d6d6a

Change-Id: Id709a812fc1db45e99a69a7114f2ff665b142cc2
2019-06-04 18:16:37 -07:00
Winson Chung
c8120d6d6a Merge "Expose keyguard showing-but-occluded state to launcher" into qt-dev 2019-06-04 20:56:37 +00:00
Winson Chung
7bbeb4531a Expose keyguard showing-but-occluded state to launcher
Bug: 133871965
Test: Verify with sysui dump in various states
Change-Id: I39c99712d525e0823a86d32510beb0a35103dd5e
2019-06-04 10:36:32 -07:00
Steve Elliott
47350b01b4 Merge "Fix loading classloader for plugins whitelisted by component name" into qt-dev
am: b730e36596

Change-Id: If9eab4b100c80a50b9288fd3c47527c9058e3f8a
2019-06-04 05:49:22 -07:00
TreeHugger Robot
b730e36596 Merge "Fix loading classloader for plugins whitelisted by component name" into qt-dev 2019-06-04 12:36:12 +00:00
Winson Chung
466b5dfd34 Merge "Fix regression in swiping up from lockscreen" into qt-dev
am: fafe6dd571

Change-Id: Ie6a8a8983c4fa9340309353670f7940b12f2c18b
2019-06-03 18:38:38 -07:00
Winson Chung
241e63d2ff Fix regression in swiping up from lockscreen
Bug: 134391878
Test: Swipe up to assistant from lockscreen

Change-Id: I32fe638de507775c5744344bc5e71509e4a5b0e1
2019-06-03 22:16:11 +00:00