Sunny Goyal
0d7f19a566
Temporarily ignoring session broadcasts for 3 hours
...
Bug: 34957633
Change-Id: Ia82a4a33f3ab07c12e98bd9060a839d660827acd
2017-03-24 16:08:26 +00:00
Mario Bertschler
d6756af623
Show recently used instant apps provided by the app discovery service in the same section as installed apps.
...
am: 853c13d427
Change-Id: I852e85f5b715d7f9ecc903bb0b9020e87c19cd99
2017-03-23 23:30:09 +00:00
Mario Bertschler
853c13d427
Show recently used instant apps provided by the app discovery service
...
in the same section as installed apps.
Change-Id: I2efd41c69960c4982523c58893aacfc7a5d0bb2e
2017-03-23 15:41:17 -07:00
Jon Miranda
91d1439430
Remove setCurrentPlayTime call as it causes a crash.
...
In the previous change [1], we remove the duration
from the AnimatorSet so that the preview item
animations can finish faster than the other animations.
This causes the call to setCurrentPlayTime to crash,
because we never set a duration on the AnimatorSet.
This can be solved by creating a ValueAnimatorSet (future CL).
1: If63d4d032078ff4e28b72a09e35da3a71f1d0e27
Bug: 35064148
Change-Id: Ieed21e1ba8e669132188ce15fc20195ac841d14c
2017-03-23 15:27:14 -07:00
Jon Miranda
ce74d2a813
Smoother folder animation tweaks.
...
1. Start preview item animations later opening
2. Finish item animations sooner when closing
3. 1 & 2 allow the preview items to move as part of
the Folder and allows for a smoother animation
4. Remove setCurrentPlayTime as it is O API.
Bug: 36522198
Bug: 35064148
Change-Id: If63d4d032078ff4e28b72a09e35da3a71f1d0e27
2017-03-23 14:04:55 -07:00
Sunny Goyal
778634c818
Adding logging for various interaction in PinItemRequest UI
...
Bug: 34766840
Change-Id: Ib29d7d4b53ab99cdf3ff253976ef55345729487b
2017-03-22 16:47:21 -07:00
Mario Bertschler
0eb6326b5f
Fixes a crash in the AllAppsFastScrollHelper where on updating the activated flag
...
on the views it was trying to retrieve an item from the model for a non-existing
position in the model.
The fix is to check the position to the model size. It's not clear in what circumstance
the model (ArrayList) can differ to the position returned from the view-holder's
getAdapterPosition().
Bug: 36176501
Change-Id: I01b8daaad884702f9ed0e1caaa03d0ebaca69d39
2017-03-22 13:14:24 -07:00
Jon Miranda
fe96432b43
Add isInMultiWindowMode bool to all logs.
...
Example output:
D/UserEvent: action:LONGPRESS
Source child:WORKSPACE id=0
Elapsed container 1850 ms session 1850 ms action 0 ms
isInMultiWindowMode true
Bug: 34250955
Change-Id: If21484e8bbb0f4f311c2eb6e94b7dcea6d2431af
2017-03-22 13:08:50 -07:00
Mario Bertschler
f2be11ccc8
Merge "Enable Promise App Icon in All Apps." into ub-launcher3-master
2017-03-21 23:52:12 +00:00
Mario Bertschler
bf2d46efad
Enable Promise App Icon in All Apps.
...
- feature flag defaults to true
- avoid adding additional workspace shortcut if promise shortcut already
exists
- handle promise app removal in package added callback for success case
Change-Id: I694701e35cc94481a9c337df3a17b1e5aa2c3b4c
2017-03-21 16:44:38 -07:00
Sunny Goyal
d23f37794f
Merge "Removing the profile extra from intent and using the profile id from the profile column" into ub-launcher3-dorval
...
am: 77ff9a4343
Change-Id: Ib0cd8cb8f963b78a9cd53ed896aeb6e4f6163683
2017-03-21 23:21:26 +00:00
Sunny Goyal
77ff9a4343
Merge "Removing the profile extra from intent and using the profile id from the profile column" into ub-launcher3-dorval
2017-03-21 23:15:59 +00:00
Sunny Goyal
24bb66a1c5
Removing the profile extra from intent and using the profile id from the profile column
...
The intent extra is not always correct as the profile id can change during backup restore.
This allows us to use a consistant behavior everywhere.
Change-Id: I004bd244204ca91758b1d42488e1fc13b0ccb998
2017-03-21 15:14:43 -07:00
Tony Wickham
e28fb8354e
Add support for making nav bar light separately from status bar
...
am: ed68728b1f
Change-Id: Idfc723333b6186e84125894c822e1d820294d3d6
2017-03-21 15:28:53 +00:00
Tony Wickham
df67e08789
Merge "Move some code from AllAppsTransitionController to VeriticalPullDetector" into ub-launcher3-dorval
...
am: 3c2cbd8ad4
Change-Id: Ib38f43b92ba778e789accbecd42e4aff7ee40d63
2017-03-20 23:56:53 +00:00
Tony Wickham
ed68728b1f
Add support for making nav bar light separately from status bar
...
Bug: 34940468
Change-Id: Ie5543895e4c8b8753c84ef24633377cc985efc0d
2017-03-20 16:53:01 -07:00
Tony Wickham
3c2cbd8ad4
Merge "Move some code from AllAppsTransitionController to VeriticalPullDetector" into ub-launcher3-dorval
2017-03-20 23:52:39 +00:00
Jonathan Miranda
dea487502d
Merge "Add padding to pending widget background." into ub-launcher3-dorval
...
am: e04aa92de3
Change-Id: Ia93d71c3f7ae43fe6bbaef17a098b2e4d84df5de
2017-03-20 23:38:52 +00:00
Jonathan Miranda
e04aa92de3
Merge "Add padding to pending widget background." into ub-launcher3-dorval
2017-03-20 23:34:42 +00:00
Mario Bertschler
49e37073b1
Merge "Show promise app icon progress in All Apps and setup market intent on clicking promise app icon in All Apps." into ub-launcher3-master
2017-03-20 23:32:07 +00:00
Tony Wickham
66b7a74d9e
Move some code from AllAppsTransitionController to VeriticalPullDetector
...
This makes VerticalPullDetector more generic
and able to be used elsewhere.
Bug: 34940468
Change-Id: I78f70529cb30e5c9e7748ca548f2d638c6d0811f
2017-03-20 16:22:41 -07:00
Sunny Goyal
4610324261
Revert "Adding some logging around launcher grid when device profile changes"
...
Bug: 35425060
This reverts commit c29de85780 .
Change-Id: I4320be3473f914289f88c8cbb376a68af006d7de
2017-03-20 16:08:17 -07:00
Mario Bertschler
08ffaae3b6
Show promise app icon progress in All Apps and setup market intent
...
on clicking promise app icon in All Apps.
Only the progress will be changed with animation on progress update,
no relayout is performed. If the icon is newly bound, the progress
will not be animated.
Bug: 23952570
Change-Id: I98d3f945f08a2abadf53f20e6007c15e56d5d410
2017-03-20 16:02:24 -07:00
Sunny Goyal
bf4327520c
Merge "Removing config shortcut activities for managed profiles for apps build with older sdk" into ub-launcher3-dorval
...
am: aeb60bffc9
Change-Id: I9570796d6ef999c346ac856b997c13685b51ac39
2017-03-20 22:25:15 +00:00
TreeHugger Robot
aeb60bffc9
Merge "Removing config shortcut activities for managed profiles for apps build with older sdk" into ub-launcher3-dorval
2017-03-20 22:20:06 +00:00
Sunny Goyal
b57645fcdb
Removing config shortcut activities for managed profiles for
...
apps build with older sdk
> Also fixing the bug where legacy icon with primary user gets
created when managed user failed to provide the new icon
Bug: 34392403
Change-Id: I1d56962e9520742781df6cbeb03be2b9767a8c0b
2017-03-20 15:13:51 -07:00
Jon Miranda
5150d59603
Add padding to pending widget background.
...
Bug: 36450202
Change-Id: I12c754d0ff1ac2f9a63d2e475bff5524fe51cb57
2017-03-20 14:51:43 -07:00
Tony Wickham
de33e76948
Merge "Filter out some notifications." into ub-launcher3-dorval
...
am: 3dc60c6e39
Change-Id: Iec950f7666aa232c2655c73016e36bc1e1d2e9f6
2017-03-20 21:38:14 +00:00
Tony Wickham
3dc60c6e39
Merge "Filter out some notifications." into ub-launcher3-dorval
2017-03-20 21:29:20 +00:00
Justin Cui
6d00d97704
Merge "Make landscapeProfile and protraitProfile public." into ub-launcher3-dorval
...
am: b00fcd4e49
Change-Id: Ie62cdf16f27edf46e5b2bbec81873b99f124bb48
2017-03-20 17:41:58 +00:00
Justin Cui
b00fcd4e49
Merge "Make landscapeProfile and protraitProfile public." into ub-launcher3-dorval
2017-03-20 17:35:50 +00:00
cuijiaxing
abda8d79b4
Make landscapeProfile and protraitProfile public.
...
This is needed to make prediction sticky: b/21654652
Change-Id: Ie8cb77ed9cbf1bf5b164828d0c4335111039e7c5
2017-03-20 17:14:11 +00:00
Sunny Goyal
afc3f09240
Adding support for showing the widget preview based on the provided RemoteViews
...
am: c65a0085d7
Change-Id: Iabea96bb74294e2775a08427c17e154020d9bc40
2017-03-17 18:41:31 +00:00
Mario Bertschler
f71bb700aa
Merge "Show promise app icon in All Apps while installation process." into ub-launcher3-master
2017-03-17 18:41:20 +00:00
Sunny Goyal
c65a0085d7
Adding support for showing the widget preview based on the provided RemoteViews
...
Bug: 35811129
Change-Id: I336e48cd00cfec2e617ac73bd8a81419b0944aa7
2017-03-17 11:25:29 -07:00
Mario Bertschler
817afa3447
Show promise app icon in All Apps while installation process.
...
This CL only modifies the model and is behind a feature flag
which per default is set to false.
The app icon will appear as a promise icon, it reacts on icon
or label changes and the icon will be remove on finishing the
installation process. With this CL the progress of the installation
process is not visible.
Bug: 23952570
Change-Id: I510825d0b0b1b01eb14f7e50f0a2358b0d8b99b5
2017-03-17 09:21:35 -07:00
Jonathan Miranda
54c5fe5ddc
Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ub-launcher3-dorval
...
am: d8ea01ccf0
Change-Id: I8592ea63a61b284c5b740b6d9898c43bcbe44747
2017-03-16 21:34:04 +00:00
Jonathan Miranda
5f77fdb8b9
Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval
...
am: 3345f133a0
Change-Id: If2c4fa92842c08501b90f3da6bc972e4ba32c6a8
2017-03-16 21:30:35 +00:00
Jonathan Miranda
d8ea01ccf0
Merge "Revert "Temporary fix for Widgets in battery saver mode."" into ub-launcher3-dorval
2017-03-16 21:29:13 +00:00
Jonathan Miranda
3345f133a0
Merge "Revert "Temporary fix for Folders in battery saver mode."" into ub-launcher3-dorval
2017-03-16 21:28:21 +00:00
Jonathan Miranda
57299dae0c
Revert "Temporary fix for Widgets in battery saver mode."
...
Note: b/36157561 has been properly fixed.
This reverts commit 08d8bb9cde .
Change-Id: I55e04283d2013f965afc17bcb0482a50440a96ee
2017-03-16 20:24:42 +00:00
Jonathan Miranda
fb6c32a983
Revert "Temporary fix for Folders in battery saver mode."
...
Note: b/36157561 has been properly fixed.
This reverts commit 715a322e9a .
Change-Id: I267db053a45a75fdef71c6d178f140c7abcb8616
2017-03-16 20:24:21 +00:00
Tony Wickham
3f9f3a024d
Merge "Small cleanup for notifications" into ub-launcher3-dorval
...
am: 904166fd1e
Change-Id: I1f7eecf94ca6dd495e8ebdb3f0a98354a833678d
2017-03-16 19:27:26 +00:00
Tony Wickham
904166fd1e
Merge "Small cleanup for notifications" into ub-launcher3-dorval
2017-03-16 19:22:51 +00:00
Jon Miranda
a7cddd2c96
Refactor Folder/FolderAnimationManager code.
...
* FolderAnimationManager is now lazy loaded.
* Extract methods to simplify code.
Bug: 35064148
Change-Id: I08a72ef19a1f21637f033059d5e228ef67135ccd
2017-03-16 12:12:46 -07:00
Tony Wickham
74884ce164
Filter out some notifications.
...
- Filter out any notification without title and text
- Filter out ongoing notifications on the default, legacy channel
- Respect notification's badgeIcon param instead of always using
BADGE_ICON_LARGE (this way we can change the default on system)
Bug: 35097755
Bug: 36150272
Change-Id: If10b663e27a96354fd40a6e0f71e17b250290115
2017-03-15 15:43:27 -07:00
Tony Wickham
81ebe383f5
Small cleanup for notifications
...
- Add null check when collapsing footer, as container could be null
if the app is opened
- Remove redundant method that always passed mNotificationItemView
- Set mNotificationItemView to null when it is removed
Change-Id: Ia329815224b213fc688733eaaf6f29ee6888caaf
2017-03-15 14:46:02 -07:00
Jon Miranda
a984221a37
Temporary fix for Widgets in battery saver mode.
...
am: 08d8bb9cde
Change-Id: If816544f1a115f5d3882b4335b747cae29a0205a
2017-03-15 18:44:40 +00:00
Jon Miranda
08d8bb9cde
Temporary fix for Widgets in battery saver mode.
...
Bug: 36246234
Bug: 36240579
Change-Id: Iced0ea87333011aef1dbdadd0036427207e377d9
2017-03-15 11:28:59 -07:00
Tony Wickham
185f854bfa
Merge "Use default icon if notification icon is null." into ub-launcher3-dorval
...
am: a431fbb850
Change-Id: I493ea6c4248c81f33e5267e2450e646cff23c955
2017-03-15 17:30:30 +00:00