Tony Wickham and Android (Google) Code Review
5509465317
Merge changes from topic "am-cd88620d-8a17-4592-86c7-f98ff940a436" into ub-launcher3-master
...
* changes:
[automerger] Handle null small icon am: 207f7d7f86
Handle null small icon
2017-10-13 21:18:19 +00:00
Sunny Goyal
10a1bd0e65
Converting PopupContainerWithArrow into a base class so that it is easier
...
to create other types of popup
Bug: 67585158
Change-Id: I966ae7bb90f941951b26feaf71b3ea30c3f3c0cc
2017-10-10 10:28:05 -07:00
Android Build Merger (Role)
d4899cfc2f
[automerger] Handle null small icon am: 207f7d7f86
...
Change-Id: I2003fe3d654829f8a2d1d16a38213cf5a262650f
2017-10-06 21:03:28 +00:00
Tony
207f7d7f86
Handle null small icon
...
It shouldn't be possible to have a null small icon, but apparently
there are cases where we get one anyway. Might as well handle it
gracefully instead of crashing.
Bug: 67156108
Change-Id: I01ad0251920f7f531a3019eb694946c3d295f9de
2017-10-06 14:03:09 -07:00
Jonathan Miranda and Android (Google) Code Review
6a816b007c
Merge "Fix bug where labels were visible in hotseat / invisible in workspace." into ub-launcher3-dorval-polish2
2017-10-06 19:41:53 +00:00
Jonathan Miranda and Android (Google) Code Review
271e219ea3
Merge changes from topic "am-01ff3d34-0eea-44d5-99f7-af2df518afb2" into ub-launcher3-master
...
* changes:
[automerger] Fix bug where labels were visible in hotseat / invisible in workspace. am: f1eae802b5
Fix bug where labels were visible in hotseat / invisible in workspace.
2017-10-06 19:41:53 +00:00
Sunny Goyal
00c95b8447
Removing some obsolete callbacks
...
Change-Id: I3cf19a13ff145923f2973e23c24033f196324aa3
2017-10-06 11:56:01 -07:00
TreeHugger Robot and Android (Google) Code Review
4670ff6e26
Merge "Moving install queue updates to worker thread." into ub-launcher3-master
2017-10-06 18:34:22 +00:00
Sunny Goyal
91498abf75
Moving install queue updates to worker thread.
...
This avoids acquiring a lock for upating the sharedPrefs during onResume
as all the logic runs on a single thread.
Bug: 67305604
Change-Id: I1bbea382da9fafb403b4e9508f393f78db28478d
2017-10-06 11:33:43 -07:00
TreeHugger Robot and Android (Google) Code Review
6750836bd0
Merge "Merging duplicate logic for deferred drop handling in Worksace and Folder" into ub-launcher3-master
2017-10-06 17:00:40 +00:00
Sunny Goyal
3dce5f3f50
Merging duplicate logic for deferred drop handling in Worksace and Folder
...
> All the logic is contained in UninstallDropTarget
> Also fixing a bug were mWaitingForResume was not cleared
Bug: 34692289
Change-Id: I617475ce53062902d6817954fb608198e6e03d3c
2017-10-06 09:07:36 -07:00
TreeHugger Robot and Android (Google) Code Review
22b92df30f
Merge "Instead of posponing state change until onResume, applying the state change directly in onCreate and onNewIntent()" into ub-launcher3-master
2017-10-05 22:30:00 +00:00
TreeHugger Robot and Android (Google) Code Review
878b5efaa3
Merge "Polish animation when icon returns to Folder." into ub-launcher3-master
2017-10-05 22:12:03 +00:00
TreeHugger Robot and Android (Google) Code Review
661e558321
Merge "Removing unnecessary layout pass happening due when chaning gradientView visibility" into ub-launcher3-master
2017-10-05 22:09:24 +00:00
Sunny Goyal
53b993688f
Instead of posponing state change until onResume, applying the state
...
change directly in onCreate and onNewIntent()
> State UI do not depend on view measurement and each state is able
to adapt itself based on measure/layout. We do not need to wait for
first layout pass before chaning the state.
Bug: 67305604
Change-Id: I8906e3245cc07aac0038fe630e2a16875d4e8949
2017-10-05 15:06:31 -07:00
Android Build Merger (Role)
c51a2964fb
[automerger] Fix bug where labels were visible in hotseat / invisible in workspace. am: f1eae802b5
...
Change-Id: If4155798256c6b806f6f89ef441df6e0f49b4e39
2017-10-05 21:23:57 +00:00
Tony Wickham
830578ff22
Cancel notification group summary when all children are cancelled.
...
This requires maintaining notification group information by mapping
groupKey's to the summary key and child keys.
Bug: 65100024
Change-Id: Idd352ce5e243a0762bf30a9c79d36681456a1b17
2017-10-05 21:12:20 +00:00
TreeHugger Robot and Android (Google) Code Review
a9e345f886
Merge "Removing some methods from the DragSource" into ub-launcher3-master
2017-10-05 17:20:58 +00:00
Sunny Goyal and Android (Google) Code Review
213b916ff0
Merge "Moving widget reinflation to push model" into ub-launcher3-master
2017-10-05 17:16:49 +00:00
TreeHugger Robot and Android (Google) Code Review
c4cbd7d978
Merge "Removing predicted apps reset on every onResume" into ub-launcher3-master
2017-10-05 17:01:48 +00:00
Sunny Goyal
ba47faae6a
Moving widget reinflation to push model
...
Instead of checking every widget, a widget which needs reinflation
would post a callback on launcher avoiding unnecessary loops in onResume
Bug: 67305604
Change-Id: I53e08d6f4795f7b716a9debca5c0c68dd25a7afe
2017-10-05 09:58:13 -07:00
TreeHugger Robot and Android (Google) Code Review
8e35dbb2ed
Merge "Moving the wallpaper offset interpolator to background thread" into ub-launcher3-master
2017-10-05 15:47:51 +00:00
Sunny Goyal
d0c3d3a53c
Moving the wallpaper offset interpolator to background thread
...
Bug: 67305604
Bug: 25321240
Change-Id: I2d667a4d1a4b91ec2a11e5e171f8a1d1c4222b33
2017-10-05 08:35:05 -07:00
Jon Miranda
f1eae802b5
Fix bug where labels were visible in hotseat / invisible in workspace.
...
Bug: 67364623
Change-Id: Ib66a5cdaca767fd8546f4ffd02d590981bb8135a
2017-10-04 11:23:33 -07:00
Sunny Goyal
d0d0703399
Removing predicted apps reset on every onResume
...
Predicted apps should be pushed by the called whenever they change
instead of Launcher polling them on every UI update.
Bug: 67305604
Change-Id: Ibd3d809b09b7d8fd39036f69367e8580fb90dcef
2017-10-04 10:41:43 -07:00
Sunny Goyal
1ce9c476f7
Removing some methods from the DragSource
...
This makes is easier to create new DragSource and sets up
proper default values in DragOptions
Change-Id: I6cb0b1df41b9730cf29f785fe85fe7f0b573ee3a
2017-10-03 16:18:46 -07:00
TreeHugger Robot and Android (Google) Code Review
0474222c25
Merge "Removing buildLayer call on workspace pages." into ub-launcher3-master
2017-10-03 22:39:49 +00:00
TreeHugger Robot and Android (Google) Code Review
e050182544
Merge changes from topic "am-a465be7a-460d-4d89-9018-8c0df96ff268" into ub-launcher3-master
...
* changes:
[automerger] Larger icons for L3Go and spacing changes. am: 846455e1ff
Larger icons for L3Go and spacing changes.
2017-10-03 21:34:52 +00:00
TreeHugger Robot and Android (Google) Code Review
8838b8e0e5
Merge "Removing extraction service and palette api dependency" into ub-launcher3-master
2017-10-03 20:56:02 +00:00
Android Build Merger (Role)
8c23068b7c
[automerger] Larger icons for L3Go and spacing changes. am: 846455e1ff
...
Change-Id: Iec2b04651788abaa3abb8a1b295a7f5eb1f92355
2017-10-03 18:27:55 +00:00
Jon Miranda
846455e1ff
Larger icons for L3Go and spacing changes.
...
There are cases (ie. smaller devices) where the icon label is closer
to the icon below it (rather than its corresponding icon).
To fix this, we ensure that the drawable padding (space between the
icon and its label) is no larger than the vertical padding of the cell.
Bug: 67317867
Change-Id: Ic3729726eebb60b67d658361c4335e724b7d68d7
2017-10-03 11:23:05 -07:00
Sunny Goyal
3792096688
Allowing the widgetBottomSheet to be dragged
...
even when the touch is started from outside the panel
Removing various instanceOf checks in onNewIntent and onBackPress
and moving all the corresponding logging in the FloatingView
This simplifies handling of panel specific log and avoids
missing a particular panel type in the if-else statement.
Bug: 64751884
Bug: 64751923
Change-Id: I98f5aae18560a64be73c9efcf495479740d49a00
2017-10-02 16:18:52 -07:00
Sunny Goyal
a502aa313b
Removing buildLayer call on workspace pages.
...
> buildLayer was followed by setLayerType(NONE) which was causing the
layer to get destroyed immediately and hece was never useful.
> Also removing mAnimatingViewIntoPlace as after setting this to true
updateChildLayer was never being called.
Change-Id: I08a6da25de002247c956308973f1675c0e61e15c
2017-10-02 16:10:35 -07:00
Sunny Goyal
d66e3b6a65
Removing unnecessary layout pass happening due when chaning gradientView visibility
...
Change-Id: I0d8f0c2c995885143156a27536b0a2185d5eb0b8
2017-10-02 15:27:21 -07:00
Sunny Goyal
326403e958
Moving some calls off the UI thread
...
This saves ~5ms in onNewIntent
Bug: 67305604
Change-Id: Ic97727b1c526e50bd3c8a1d8f511e1d7fd5e05e7
2017-10-02 14:50:09 -07:00
TreeHugger Robot and Android (Google) Code Review
ec21a599f4
Merge changes from topic "am-337c344f-ec88-4e4e-9ad7-07a92571f781" into ub-launcher3-master
...
* changes:
[automerger] Remove discovery bounce for demo users am: 3993348043
Remove discovery bounce for demo users
2017-10-02 21:07:21 +00:00
Android Build Merger (Role)
ea8e140328
[automerger] Remove discovery bounce for demo users am: 3993348043
...
Change-Id: Id561b960f1b080ef9bf5d6245513401e859e2afb
2017-10-02 20:49:45 +00:00
Adam Cohen
3993348043
Remove discovery bounce for demo users
...
Bug 67116550
Change-Id: I8a27685f91e201072c0669c102077affe550fab6
2017-10-02 20:49:30 +00:00
Sunny Goyal
fca6bc9dce
Adding a utility method to simplify method tracing
...
Change-Id: I79ef0aa5d65b933f4b7f0520fc8bac26e366da2d
2017-10-02 13:47:42 -07:00
TreeHugger Robot and Android (Google) Code Review
230cf17fe6
Merge "Fix predictiveApps Bug: 67010327" into ub-launcher3-dorval-polish2
2017-09-29 20:49:18 +00:00
Android Build Merger (Role)
f9468f4dec
[automerger] Fix predictiveApps Bug: 67010327 am: 7a77f1e678
...
Change-Id: I3f4eec8ee9e1dff6b75111060fdcaadfebe5000d
2017-09-29 20:42:14 +00:00
Hyunyoung Song
7a77f1e678
Fix predictiveApps
...
Bug: 67010327
Change-Id: Iab6ea790e99bb66bd0d7d4f07a8ad9fa05387d13
2017-09-29 13:41:43 -07:00
Adam Cohen and Android (Google) Code Review
8831252399
Merge changes from topic "demoModeTopic" into ub-launcher3-dorval-polish2
...
* changes:
[automerger] Demo mode default layout support am: 2782449da6
Demo mode default layout support
2017-09-29 20:38:08 +00:00
Adam Cohen and Android (Google) Code Review
ce5229b642
Merge changes from topic "demoModeTopic" into ub-launcher3-master
...
* changes:
[automerger] Demo mode default layout support am: 2782449da6 am: ea1212a38a
[automerger] Demo mode default layout support am: 2782449da6
Demo mode default layout support
2017-09-29 20:38:08 +00:00
Sunny Goyal and Android (Google) Code Review
0edbb19c71
Merge changes from topic "am-ce7ed750-6b89-4e1c-80d9-bd9a3ec4b170" into ub-launcher3-master
...
* changes:
[automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
Caching system app flag to avoid unnecessary system calls when scrolling
2017-09-29 19:57:07 +00:00
Sunny Goyal
f2dd4216c1
Removing extraction service and palette api dependency
...
Change-Id: I30ad1a1462a97b6bc03f8e386ae3058c7fe022e5
2017-09-29 10:40:08 -07:00
Android Build Merger (Role)
165ff84d8e
[automerger] Demo mode default layout support am: 2782449da6 am: ea1212a38a
...
Change-Id: Iaf6a29db70901d76125e79c86ca7dda0bf34ea67
2017-09-29 15:49:46 +00:00
Android Build Merger (Role)
ea1212a38a
[automerger] Demo mode default layout support am: 2782449da6
...
Change-Id: I0d03e760f97c6f9984ad0bf9e8f9e8c7a8a8b5c7
2017-09-29 15:49:43 +00:00
Adam Cohen
2782449da6
Demo mode default layout support
...
67062454
Change-Id: Ic060d3d7dba4fffe688dddf7cd04c48e4baaf813
2017-09-29 15:49:34 +00:00
Android Build Merger (Role)
9c73d4ff0c
[automerger] Caching system app flag to avoid unnecessary system calls when scrolling am: 6b0aa870b8
...
Change-Id: I88759881bf7b22e691186b8f11f1bc7912537864
2017-09-29 14:55:42 +00:00