Commit Graph

34630 Commits

Author SHA1 Message Date
Android Build Merger (Role) 16cd2a8456 [automerger] Fix wrong labeling of app launch session type (HOME vs OVERVIEW) am: 4bd472550c
Change-Id: I6afc740fca72d6aa261759765bdcf75997171fc9
2018-06-05 23:46:34 +00:00
Hyunyoung Song 4bd472550c Fix wrong labeling of app launch session type (HOME vs OVERVIEW)
Context: onResetOverview callback should be called the moment launcher state
exits from OVERVIEW.
More context: When user drag and drop from overview, and happens to launch
an app immediately after dropping the icon before animation finishes,
that app launch is labeled as OVERVIEW and not HOME.

Bug: 109747805
Change-Id: I24dc8681d6c51dfd2043fe71a1a81d6e96027ef4
2018-06-05 16:45:27 -07:00
Android Build Merger (Role) b47aa5d0d1 [automerger] Hides the keyboard when qsb loses focus in All apps am: 25b4dfee29
Change-Id: I27a5d03b26345596918aca62a89e78255bef4c9c
2018-06-05 23:23:19 +00:00
Mehdi Alizadeh 25b4dfee29 Hides the keyboard when qsb loses focus in All apps
Bug: 80190879
Change-Id: I88da6ef7a88b9dd4fce06e4f2b4592ee6ce39195
2018-06-05 16:22:35 -07:00
TreeHugger Robot 012e88cbfc Merge "Fixing controller state is not properly cleared when the animaiton is cancelled." into ub-launcher3-edmonton 2018-06-05 23:17:54 +00:00
Android Build Merger (Role) bf3ac479a4 [automerger] Fixing controller state is not properly cleared when the animaiton is cancelled. am: 87a6ad18cd am: b72f69d073
Change-Id: I96d04e27788f1233c951421edccfbf00e3b3a35b
2018-06-05 23:07:43 +00:00
Android Build Merger (Role) b72f69d073 [automerger] Fixing controller state is not properly cleared when the animaiton is cancelled. am: 87a6ad18cd
Change-Id: If50ce87da192ed0339d5b9faa1983bfc4174b647
2018-06-05 23:07:41 +00:00
Sunny Goyal 87a6ad18cd Fixing controller state is not properly cleared when the animaiton is cancelled.
This was leading to a pending animation running while the state had changes,
leaving user in an inconsistent state.

Various atomic animation fixes
> Ensuring that there is only one success listener on atomic animation, so that atomic
  controller is created only once and to the final mToState
> If atomic controller is already running, skip animating the atomic conmonenets as
  part of main animaiton
> Cancel atomic controller if it is going to a different state

Bug: 80549582
Bug: 109583168
Change-Id: Ie7a032e0fa73b1f1c2ef53055c08d16444f0385e
2018-06-05 16:07:29 -07:00
Android Build Merger (Role) 7c3c1951cc [automerger] Log source component instead of current task base intent am: 3cc3df59af am: dee4137e5e
Change-Id: Ic88a4281bef9d1a07ab1360a2fd6d5834c239a0e
2018-06-05 21:09:35 +00:00
Android Build Merger (Role) dee4137e5e [automerger] Log source component instead of current task base intent am: 3cc3df59af
Change-Id: If125e120eabe7ac2cd8e56b30f744c3999195dd8
2018-06-05 21:09:34 +00:00
Winson Chung 3cc3df59af Log source component instead of current task base intent
- Report original launch source component to ensure app relaunches can be
  associated with the same app for predictions.

Bug: 109698096
Bug: 109675704
Change-Id: Icc5e95560777ad827fd2430cf3b3b052b65eb1b6
2018-06-05 21:09:32 +00:00
Tony Wickham e9216a80e4 Merge changes from topic "am-95e6a52f-50ad-414d-a101-982ce29323e7" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
  Use getLocationOnScreen() to determine home bounds
2018-06-05 17:25:35 +00:00
Tony Wickham 406aefce10 Merge "Use getLocationOnScreen() to determine home bounds" into ub-launcher3-edmonton 2018-06-05 17:25:35 +00:00
Tony Wickham cddb017e6f Merge changes from topic "am-95e6a52f-50ad-414d-a101-982ce29323e7" into ub-launcher3-master
* changes:
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823 am: 23c2b8c8ec
  [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
  Use getLocationOnScreen() to determine home bounds
2018-06-05 17:25:35 +00:00
Android Build Merger (Role) 4826463555 [automerger] Do not change state in the middle of quickstep gesture am: d936f6a5e9 am: 7c8ffd1d3b
Change-Id: Iabd6fef0416f0672854ff352b13dffb870792bc1
2018-06-05 17:12:32 +00:00
Android Build Merger (Role) 7c8ffd1d3b [automerger] Do not change state in the middle of quickstep gesture am: d936f6a5e9
Change-Id: I6297797bb034ad8bd2600c8abb5a959ee0e6aa32
2018-06-05 17:12:30 +00:00
Sunny Goyal d936f6a5e9 Do not change state in the middle of quickstep gesture
Changing states causing quickscrub to get cancelled and recentsView to
get reset to page 0, causing an abrupt jump.

Bug: 80537625
Bug: 80497058
Change-Id: I19cfe4380bbff15734b9d90dc31596904da27483
2018-06-05 10:12:23 -07:00
Android Build Merger (Role) d63cbe49da [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823 am: 23c2b8c8ec
Change-Id: I949ce4eadc177f83c8dfbc2c1292242a00586761
2018-06-05 15:37:52 +00:00
Android Build Merger (Role) 23c2b8c8ec [automerger] Use getLocationOnScreen() to determine home bounds am: 678be9b823
Change-Id: I8e5fd78aabdb623d43772a805a5d53440f27dead
2018-06-05 15:37:50 +00:00
Tony Wickham 678be9b823 Use getLocationOnScreen() to determine home bounds
This correctly accounts for device cutouts in landscape.

Bug: 76220728
Change-Id: I34f022d92957caeffae49b21a89acaf13e188076
2018-06-05 08:36:44 -07:00
TreeHugger Robot 6e680f9bf6 Merge "Deleting invalid icons when an app is restored" into ub-launcher3-edmonton-polish 2018-06-04 23:54:10 +00:00
TreeHugger Robot 1c9a61ad6a Merge changes from topic "am-ba267b72-28d8-4a62-9fa3-dd082d28e8e7" into ub-launcher3-master
* changes:
  [automerger] Deleting invalid icons when an app is restored am: e48fe1095d
  Deleting invalid icons when an app is restored
2018-06-04 23:54:10 +00:00
android-build-team Robot 73859d0521 Snap for 4818534 from bf29023212 to pi-release
Change-Id: I06c92e93af46c5f35d997815ed1392cca2f05c46
2018-06-03 07:26:36 +00:00
Android Build Merger (Role) 5ed9be7e18 [automerger] Skip logging if device profile is not initialized am: 87168ca1f7 am: 4534bd9423
Change-Id: Ic31dfb4f6b0f427a6999128cbd777479fc40a69c
2018-06-01 19:54:49 +00:00
Android Build Merger (Role) 4534bd9423 [automerger] Skip logging if device profile is not initialized am: 87168ca1f7
Change-Id: I2729ac8d3ac15ac7dd92aba2927c6cbb8dd7b3de
2018-06-01 19:54:47 +00:00
Sunny Goyal 87168ca1f7 Skip logging if device profile is not initialized
Since recentsAnimation and animationCancel come on the event queue, we may skip
recentsAnimation and only process animationCancel if they happen too close to
each other, before the first event is scheduled on eventQueue.
As a result deviceProfile is never initialized.
Prevent crash by skipping logging in this case, we shouldn't be logging it anyway

Bug: 80515833
Change-Id: Ife1d6009bcdc34af6c281d848665145cd235fa40
2018-06-01 12:54:10 -07:00
Android Build Merger (Role) 672ed10a11 [automerger] Skip shelf adjustment for PIP when quickscrubbing am: edd4f89f4d
Change-Id: I3ae41c47d1472dc9e3c63814223a186e06313ec7
2018-06-01 18:24:54 +00:00
Tracy Zhou edd4f89f4d Skip shelf adjustment for PIP when quickscrubbing
Change-Id: I6dbf63dfda608601baa257125db5ec69af9f30ee
Fixes: 80316126
Test: Manual test
2018-06-01 11:24:42 -07:00
Jorim Jaggi c1ee70bf3d Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton
* changes:
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi 6b42b27619 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-master
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781 am: a7fdc39755
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e am: 65456764cb
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
Jorim Jaggi 02e2865ab9 Merge changes from topics "am-d455296f-ca9f-4a88-999f-65e8ba3f6b8a", "am-6ed11203-0b52-4aea-b304-3f471c0aa3bf" into ub-launcher3-edmonton-polish
* changes:
  [automerger] Use SyncRtSurfaceTransactionApplier for recents enter/exit am: 80b9314781
  Use SyncRtSurfaceTransactionApplier for recents enter/exit
  [automerger] Use SyncRtSurfaceTransactionApplier for app opening am: 1008f6d72e
  Use SyncRtSurfaceTransactionApplier for app opening
2018-06-01 12:27:04 +00:00
android-build-team Robot 0257b59091 Snap for 4816034 from b6a21c423f to qt-release
Change-Id: I55717cf04abde7800c851a1d784bcc83152cf63b
2018-06-01 09:31:28 +00:00
TreeHugger Robot 73fa670a55 Merge changes from topic "am-1bd70ed4-061f-4a07-a290-3195cb409e98" into ub-launcher3-master
* changes:
  [automerger skipped] Import translations. DO NOT MERGE skipped: d943aacbfe skipped: e185ee54d4
  [automerger skipped] Import translations. DO NOT MERGE skipped: d943aacbfe
  Import translations. DO NOT MERGE
2018-06-01 02:22:20 +00:00
Jon b6a21c423f Merge branch 'ub-launcher3-edmonton' into pi-dev am: bf29023212
am: 27cd4e6d34

Change-Id: Idff79a165f2f6237b42748370c9b988980813d0e
2018-05-31 17:39:11 -07:00
Bill Yi 3f90a2dcf6 Import translations. DO NOT MERGE
Change-Id: I2078cff13794d2802f91dbce3ac92994af8fcfa1
Auto-generated-cl: translation import
2018-05-31 17:30:53 -07:00
Android Build Merger (Role) 1aeb7c3075 [automerger skipped] Import translations. DO NOT MERGE skipped: d943aacbfe skipped: e185ee54d4
Change-Id: I127bc3a9cd9f7d9ad877c058214027a84859f976
2018-06-01 00:28:34 +00:00
Android Build Merger (Role) e185ee54d4 [automerger skipped] Import translations. DO NOT MERGE skipped: d943aacbfe
Change-Id: I86a918f0492a47596257f3391de5fa072137f087
2018-06-01 00:28:30 +00:00
Bill Yi d943aacbfe Import translations. DO NOT MERGE
Change-Id: Idf5bc036acf70e711dcd166787ceb6c494027ea4
Auto-generated-cl: translation import
2018-05-31 17:25:09 -07:00
Jon 27cd4e6d34 Merge branch 'ub-launcher3-edmonton' into pi-dev
am: bf29023212

Change-Id: I6ef016a92f772bf74b85c7eec84110269adf83ea
2018-05-31 15:22:09 -07:00
Android Build Merger (Role) 1e636dfa08 [automerger] Do not run StateHandler code while holding the lock am: f46779fe01 am: bda981419c
Change-Id: I90c280ebe5868ffc92618134802c95f7acc2b4c3
2018-05-31 21:13:05 +00:00
Android Build Merger (Role) bda981419c [automerger] Do not run StateHandler code while holding the lock am: f46779fe01
Change-Id: I2281b44fd9cc4156a759cb3828b2829d324439cd
2018-05-31 21:13:03 +00:00
Sunny Goyal f46779fe01 Do not run StateHandler code while holding the lock
Deadlock:
Main thread:
  InternalStateHandler.run() =>
  	 LauncherFrameDrawn =>
  	 Switch MotionEventQueue to Main thread =>
  	 Try to acquire MotionEventQueue lock while holding InternalStateHandler lock

Remote UI thread
  Recents Animation cancel on MotionEventQueue =>
     Cancel SwipeHandler =>
     Clear previously registered InternalStateHandler =>
     Try to acquire InternalStateHandler lock while holding MotionEventQueue lock

Bug: 80536505
Change-Id: I75e522edea2a76f8bc90e8abc2a174583cc709c4
2018-05-31 14:12:52 -07:00
Jon bf29023212 Merge branch 'ub-launcher3-edmonton' into pi-dev
Bug: 80134723
Test: manual
Change-Id: If8e9c1b1aacf547ab7a1edaccaa9fed5e976a980
2018-05-31 13:15:57 -04:00
TreeHugger Robot f4392dbf5a Merge "Some launcher3 fixes so that it compiles with different configurations" into ub-launcher3-edmonton 2018-05-31 16:42:56 +00:00
Android Build Merger (Role) a7d219f798 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7 am: 9e40ef9894
Change-Id: Ie3eed75fab341dfe274a566c71d6b6fdbab70854
2018-05-31 01:15:28 +00:00
Android Build Merger (Role) 9e40ef9894 [automerger] Some launcher3 fixes so that it compiles with different configurations am: d0f43ceba7
Change-Id: I4886d9a1880c35ebb36ccda20401e6c7e394dad9
2018-05-31 01:15:27 +00:00
Sunny Goyal d0f43ceba7 Some launcher3 fixes so that it compiles with different configurations
Bug: 79996542
Change-Id: I4267aeb8f5b0714415970c63453049ff41466644
2018-05-30 18:15:21 -07:00
TreeHugger Robot c86805f433 Merge "Theme updates for dark text:" into ub-launcher3-edmonton 2018-05-30 23:06:26 +00:00
Android Build Merger (Role) a648206cd5 [automerger] Theme updates for dark text: am: 337fcb7983 am: a4feb0c385
Change-Id: Id1edd1dfac985be021f84e92c9014bcbf61608bb
2018-05-30 22:53:18 +00:00
Android Build Merger (Role) a4feb0c385 [automerger] Theme updates for dark text: am: 337fcb7983
Change-Id: Ib43cca83d5cc0e02a6f5cab4b20ecf325361b08b
2018-05-30 22:53:16 +00:00