OSDN Git Service
Sunny Goyal [Tue, 20 Oct 2015 17:02:33 +0000 (17:02 +0000)]
Using UiSelector instead of BySelector
am:
ead4ab9655
* commit '
ead4ab9655683050a967864a3213d8782be0344c':
Using UiSelector instead of BySelector
Sunny Goyal [Tue, 20 Oct 2015 00:32:10 +0000 (17:32 -0700)]
Using UiSelector instead of BySelector
Change-Id: Ie912cc7291a2533f6686bdb34e108be15ce244ac
Sunny Goyal [Mon, 19 Oct 2015 21:03:30 +0000 (14:03 -0700)]
Scaling down the icon before applying the user badge
> This also saves memory only create one new bitmap while loading instead of two
Bug:
25027252
Change-Id: Ia594dd65a30f32e99404190f649b334615c9e17f
Geoff Mendal [Mon, 19 Oct 2015 16:29:23 +0000 (16:29 +0000)]
Import translations. DO NOT MERGE am:
f58538672a -s ours
am:
705b4abd57 -s ours
* commit '
705b4abd5793f2b989bca9c53220ffff3014a6ec':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 19 Oct 2015 16:25:53 +0000 (16:25 +0000)]
Import translations. DO NOT MERGE
am:
f58538672a -s ours
* commit '
f58538672aaeb1d0d00a9c65a773f5e251003c3b':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 19 Oct 2015 16:25:53 +0000 (16:25 +0000)]
Import translations. DO NOT MERGE
am:
8c23c2d2ba -s ours
* commit '
8c23c2d2ba4b7067afca5a28df2709450d29c5bf':
Import translations. DO NOT MERGE
Geoff Mendal [Mon, 19 Oct 2015 15:52:02 +0000 (08:52 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iab62cd0b92f647d639aea075133a9168dd7ee462
Auto-generated-cl: translation import
Geoff Mendal [Mon, 19 Oct 2015 15:50:56 +0000 (08:50 -0700)]
Import translations. DO NOT MERGE
Change-Id: If930ef94a3abe3e27123d1fe3553b0a3a453ffec
Auto-generated-cl: translation import
Geoff Mendal [Mon, 19 Oct 2015 15:49:51 +0000 (08:49 -0700)]
Import translations. DO NOT MERGE
Change-Id: Iee53921c75c785c7d73dd375b4e044761a5a7246
Auto-generated-cl: translation import
Sunny Goyal [Sat, 17 Oct 2015 00:51:18 +0000 (00:51 +0000)]
Merge "Adding tests for rotation preference Updating the gradle file to run tests directly from AndroidStudio" into ub-launcher3-burnaby-polish
am:
917d434c5c
* commit '
917d434c5ce93ae86b43a3825c9cbc3541843f5e':
Adding tests for rotation preference Updating the gradle file to run tests directly from AndroidStudio
Sunny Goyal [Sat, 17 Oct 2015 00:49:33 +0000 (00:49 +0000)]
Merge "Adding tests for rotation preference Updating the gradle file to run tests directly from AndroidStudio" into ub-launcher3-burnaby-polish
Sunny Goyal [Sat, 17 Oct 2015 00:18:54 +0000 (17:18 -0700)]
Adding tests for rotation preference
Updating the gradle file to run tests directly from AndroidStudio
Change-Id: Iac23dfc6f995477f2406071fbfab3a16ee58ce6f
Winson [Fri, 16 Oct 2015 23:47:49 +0000 (16:47 -0700)]
resolve merge conflicts of
fb4014daa3 to ub-launcher3-
Change-Id: I6d84a7f3fad757bf139b6ea0001ac6ab88850996
Winson Chung [Fri, 16 Oct 2015 22:20:14 +0000 (22:20 +0000)]
Merge "Fix issue with source params not reporting predicted apps." into ub-launcher3-burnaby-polish
Winson [Fri, 16 Oct 2015 21:57:24 +0000 (14:57 -0700)]
Fix issue with source params not reporting predicted apps.
Bug:
25020080
Change-Id: Iaa67ccbb3e3a6c264aaa4fa3c915faad8a69bbbc
Tony Wickham [Fri, 16 Oct 2015 20:43:32 +0000 (20:43 +0000)]
Add LauncherCallbacks method to add additional search widget options. am:
775455c4a8
am:
f79d347a61
* commit '
f79d347a615023d9db721e6483d08033aaabd575':
Add LauncherCallbacks method to add additional search widget options.
Tony Wickham [Fri, 16 Oct 2015 20:40:34 +0000 (20:40 +0000)]
Add LauncherCallbacks method to add additional search widget options.
am:
775455c4a8
* commit '
775455c4a8266655bf43b943e969d42ac32609ec':
Add LauncherCallbacks method to add additional search widget options.
Sunny Goyal [Fri, 16 Oct 2015 18:37:37 +0000 (18:37 +0000)]
Merge "Preventing activity to restart when keyboard is connected or keyboard type changes" into ub-launcher3-burnaby-polish
am:
363da26646
* commit '
363da26646b3214a437981fc3ad908ccd363f8f3':
Preventing activity to restart when keyboard is connected or keyboard type changes
Sunny Goyal [Fri, 16 Oct 2015 18:32:43 +0000 (18:32 +0000)]
Merge "Preventing activity to restart when keyboard is connected or keyboard type changes" into ub-launcher3-burnaby-polish
Tony Wickham [Fri, 16 Oct 2015 17:17:46 +0000 (17:17 +0000)]
am
fb062c63: Close some Cursors and call super.onFinishInflate().
* commit '
fb062c63355f65e6df9e99cbf4cce49cee2900d1':
Close some Cursors and call super.onFinishInflate().
Tony Wickham [Fri, 16 Oct 2015 16:49:32 +0000 (09:49 -0700)]
Add LauncherCallbacks method to add additional search widget options.
Bug:
25000458
Change-Id: I5e8d48617568569bc6e4f284749c3ed9fb20a68f
Tony Wickham [Fri, 16 Oct 2015 17:12:23 +0000 (10:12 -0700)]
Close some Cursors and call super.onFinishInflate().
Android Studio gave these warnings, and they seem like good ideas.
Change-Id: I9a4d3997fd18e86e007e4511e1ac9e8a75509265
Tony Wickham [Thu, 15 Oct 2015 18:18:26 +0000 (11:18 -0700)]
resolved conflicts for
a8709ddb to ub-launcher3-master
Change-Id: I172395e6e172914627b6dec721070a66520557b1
Tony Wickham [Thu, 15 Oct 2015 18:00:59 +0000 (18:00 +0000)]
Merge "Fix "The specified child already has a parent" IllegalStateException." into ub-launcher3-burnaby-polish
Tony Wickham [Wed, 14 Oct 2015 22:23:04 +0000 (15:23 -0700)]
Fix "The specified child already has a parent" IllegalStateException.
The problem was due to a race condition between removing a prebound
widget view from the drag layer and adding the same view to the
workspace upon dropping it; if you let go of the widget immediately
after picking it up, the latter happened before the former.
Specifically, the flow was: long-click a widget --> drop --> remove
the view from the drag layer if it's not null (it is, so nothing
happens) --> the view is finally bound/inflated and added to the drag
layer --> add the view to the workspace --> already has a parent.
There are actually 2 problems here: one is that the bind/inflate is
asynchronous, and can therefore happen after dropping the widget view
being inflated, and the other is that the view is added to the
workspace even though the transition has barely started (we usually
ignore drops if the transition is less than half complete). It turns
out that this second problem was also due to a race condition, this
time between dropping a widget or app onto the workspace and calling
LauncherStateTransitionAnimation.dispatchOnLauncherTransitionStart().
If the drop happened before the dispatch, as in the case of the
crash, then the drop was accepted because the transition progress was
still 1.0 from the previous transition.
I fixed the first problem by removing the drag layer widget view
in Launcher where it is potentially used instead of Workspace. And I
fixed the second problem by setting mTransitionProgress to 0 in
Workspace.onLauncherTransitionPrepare().
I also added some debugging logs.
Bug:
23896857
Change-Id: I66944e6d3f23b70dea15f7fb01af0763a1bfcbda
Sunny Goyal [Wed, 14 Oct 2015 19:19:24 +0000 (19:19 +0000)]
am
44b48f77: am
28c6b963: Showing a permission prompt for direct call shortcuts
* commit '
44b48f77027c386885ed459de501f9d822abac9c':
Showing a permission prompt for direct call shortcuts
Sunny Goyal [Wed, 14 Oct 2015 19:16:24 +0000 (19:16 +0000)]
am
28c6b963: Showing a permission prompt for direct call shortcuts
* commit '
28c6b963d4ccac73ab857c839420513dd560945c':
Showing a permission prompt for direct call shortcuts
Sunny Goyal [Wed, 14 Oct 2015 18:53:04 +0000 (11:53 -0700)]
Preventing activity to restart when keyboard is connected or keyboard type changes
Bug:
20820889
Change-Id: Ib0b21c04290607ddd67cef2003e6d89f5d6492d8
Winson [Wed, 14 Oct 2015 00:52:17 +0000 (17:52 -0700)]
resolved conflicts for
e9f27273 to ub-launcher3-master
Change-Id: I96b062c3309eadf4d41a5f00ea74740bab78b358
Winson [Tue, 13 Oct 2015 17:47:51 +0000 (10:47 -0700)]
Fixing issue with overview panel buttons.
Bug:
22699895
Change-Id: I8a2f05a6008343327e34cbd3169e4056729e0b75
Tony Wickham [Mon, 12 Oct 2015 23:25:24 +0000 (23:25 +0000)]
am
a295048a: Increase folder cell width slightly.
* commit '
a295048a69d35b5adc3f021c3d40c32700cc9629':
Increase folder cell width slightly.
Tony Wickham [Mon, 12 Oct 2015 22:57:23 +0000 (15:57 -0700)]
Increase folder cell width slightly.
The increased breathing room makes it more likely that long app names
will fit in the folder cells without being cut off.
Bug:
22462641
Change-Id: I110ede040f9e8fdddbf0c4e7a395ac71435559f3
Geoff Mendal [Mon, 12 Oct 2015 20:55:17 +0000 (20:55 +0000)]
am
f7203499: (-s ours) Import translations. DO NOT MERGE
* commit '
f7203499f40af2afbcf20d5ff7555c97d86ad841':
Import translations. DO NOT MERGE
Tony Wickham [Mon, 12 Oct 2015 20:34:28 +0000 (13:34 -0700)]
resolved conflicts for
f685c7e5 to ub-launcher3-master
Change-Id: Iddf78c166f9ab89ffae2ddc819c9ba5cf5e988be
Sunny Goyal [Mon, 12 Oct 2015 18:42:05 +0000 (11:42 -0700)]
Showing a permission prompt for direct call shortcuts
Bug:
24580949
Change-Id: Idc92f9f5979a730f43b4905af2bc47b6834dc7a7
Geoff Mendal [Mon, 12 Oct 2015 14:01:16 +0000 (07:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8c8f3af2d54f551ce3ad381583c78590b4505d24
Auto-generated-cl: translation import
Geoff Mendal [Mon, 12 Oct 2015 14:00:09 +0000 (07:00 -0700)]
Import translations. DO NOT MERGE
Change-Id: I30deecd0fedace5365a877a8333206e7cb015afb
Auto-generated-cl: translation import
Tony Wickham [Fri, 9 Oct 2015 22:37:02 +0000 (22:37 +0000)]
Merge "Actually call LauncherTransitionable.onLauncherTransitionStep()." into ub-launcher3-burnaby-polish
Tony Wickham [Fri, 9 Oct 2015 17:05:56 +0000 (10:05 -0700)]
resolved conflicts for
fa3c369c to ub-launcher3-master
Change-Id: I6bfc3d3b731a414060d86d4f1dfc5480c279edc9
Tony Wickham [Fri, 9 Oct 2015 01:40:31 +0000 (01:40 +0000)]
am
37860923: Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby
* commit '
37860923619b1e467975a74764dff03ab657bdc7':
Added launcher callback to specify search bar height.
Tony Wickham [Fri, 9 Oct 2015 01:37:39 +0000 (01:37 +0000)]
Merge "Added launcher callback to specify search bar height." into ub-launcher3-burnaby
Tony Wickham [Fri, 9 Oct 2015 01:32:22 +0000 (18:32 -0700)]
resolved conflicts for
d70a4b7b to ub-launcher3-master
Change-Id: Ib04f80eeebf551fc026925830fc4739d1c620513
Tony Wickham [Fri, 9 Oct 2015 00:38:29 +0000 (00:38 +0000)]
am
d6b4037b: Grid adjustments, specifically for Ryu.
* commit '
d6b4037b093445fefa7d036da339dd549fae7a9b':
Grid adjustments, specifically for Ryu.
Tony Wickham [Wed, 23 Sep 2015 21:55:17 +0000 (14:55 -0700)]
Added launcher callback to specify search bar height.
The search bar can now be be normal or tall. When it is set to tall,
the hotseat and page indicators move down so that the workspace isn't
compressed quite as much.
Change-Id: Id92a946eab3a93524999f92efd847a501a95f002
Sunny Goyal [Thu, 8 Oct 2015 21:52:26 +0000 (21:52 +0000)]
am
56c73604: Verify that the widget id is valid, before binding the widget
* commit '
56c7360497823ed83d4eb04ef32c117e9c5608d6':
Verify that the widget id is valid, before binding the widget
Sunny Goyal [Thu, 8 Oct 2015 21:52:25 +0000 (21:52 +0000)]
am
cf12698f: Merge "Null check in PackageInstallerCompat" into ub-launcher3-burnaby-polish
* commit '
cf12698fccddc832069eece02b352d689bf950b6':
Null check in PackageInstallerCompat
Sunny Goyal [Thu, 8 Oct 2015 21:52:24 +0000 (21:52 +0000)]
am
5802588d: Merge "Update the widget spans after the provider changes" into ub-launcher3-burnaby-polish
* commit '
5802588dc067f69914a0adaaec1c15825f0e720d':
Update the widget spans after the provider changes
Sunny Goyal [Fri, 25 Sep 2015 19:55:01 +0000 (12:55 -0700)]
Verify that the widget id is valid, before binding the widget
Bug:
23820213
Bug:
24054205
Bug:
24582322
Change-Id: I25a09b0a2a706812a7d82729b5dc554ffba84a2a
Sunny Goyal [Thu, 8 Oct 2015 20:59:19 +0000 (20:59 +0000)]
Merge "Null check in PackageInstallerCompat" into ub-launcher3-burnaby-polish
Sunny Goyal [Thu, 8 Oct 2015 20:57:51 +0000 (20:57 +0000)]
Merge "Update the widget spans after the provider changes" into ub-launcher3-burnaby-polish
Sunny Goyal [Thu, 8 Oct 2015 20:56:37 +0000 (13:56 -0700)]
Null check in PackageInstallerCompat
Bug:
24582224
Change-Id: I2cd4ca12d48b3316a8a519092118d9e2970d944d
Tony Wickham [Thu, 24 Sep 2015 01:37:57 +0000 (18:37 -0700)]
Grid adjustments, specifically for Ryu.
> Less than 14% of the screen is used for left/right workspace padding.
(To be clear, this means 7% for the left and 7% for the right.)
> Hotseat icons are the same size as workspace icons.
> Far left and right hotseat edges line up with workspace edges.
> All Apps button is scaled down 8dp.
Bug:
24003478
Change-Id: Idb057ab0f6ba29e7fd93feac7573ca2e07c7e839
Sunny Goyal [Thu, 8 Oct 2015 14:45:47 +0000 (14:45 +0000)]
am
bbf01846: Using 23 instead of Build.Versoin.M until the final SDK is available.
* commit '
bbf0184603ce9395173f5e412d8188b4b0910f9e':
Using 23 instead of Build.Versoin.M until the final SDK is available.
Sunny Goyal [Thu, 8 Oct 2015 14:41:15 +0000 (07:41 -0700)]
Using 23 instead of Build.Versoin.M until the final SDK is available.
Change-Id: I9f8f6fe049afcd0ceb0797ddc803a2e77bab0437
Sunny Goyal [Wed, 7 Oct 2015 20:54:03 +0000 (20:54 +0000)]
am
d306055f: (-s ours) Moving a few testing classes to a separate package
* commit '
d306055f2d7750df08d9dfb9f630517e0b43f6eb':
Moving a few testing classes to a separate package
Sunny Goyal [Wed, 7 Oct 2015 20:45:51 +0000 (20:45 +0000)]
am
21d89fbf: Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish
* commit '
21d89fbf8c444c64a4c85d25a25bbe3b79719de9':
Fixing overscroll effect when the navigation bar is opaque
Geoff Mendal [Wed, 7 Oct 2015 20:45:51 +0000 (20:45 +0000)]
am
79d0ac93: (-s ours) Import translations. DO NOT MERGE
* commit '
79d0ac937ba6d6f332e3c43fe9db43b008a04d14':
Import translations. DO NOT MERGE
Sunny Goyal [Wed, 7 Oct 2015 20:45:50 +0000 (20:45 +0000)]
am
6fb929e0: Verifying that the table was successfully created during initialzation
* commit '
6fb929e0038a9d03b60540fdbf6b6914146f7b21':
Verifying that the table was successfully created during initialzation
Geoff Mendal [Wed, 7 Oct 2015 20:45:50 +0000 (20:45 +0000)]
am
a67ba861: (-s ours) am
53d3be63: (-s ours) Import translations. DO NOT MERGE
* commit '
a67ba8612f4408c42bb6988304aeb86bd3382796':
Import translations. DO NOT MERGE
Tony Wickham [Wed, 7 Oct 2015 20:45:49 +0000 (20:45 +0000)]
am
d47807d7: am
3a3517fb: Add widget size options for QSB.
* commit '
d47807d7a97d4ab555b2f9be882591c08955d699':
Add widget size options for QSB.
Sunny Goyal [Wed, 7 Oct 2015 20:45:48 +0000 (20:45 +0000)]
am
fd4264b2: (-s ours) Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-burnaby-polish
* commit '
fd4264b2b52e294ccb1326784bdf1df2cd7fe14c':
Jailing the saved instance state of all the dynamically generated views
Winson Chung [Wed, 7 Oct 2015 20:40:32 +0000 (20:40 +0000)]
am
bbb1aea1: Merge "Fixing regression when removing last item from folder." into ub-launcher3-burnaby-polish
* commit '
bbb1aea148270947cef90fe1c8d0ad5961ef392e':
Fixing regression when removing last item from folder.
Geoff Mendal [Wed, 7 Oct 2015 20:40:31 +0000 (20:40 +0000)]
am
521c59a8: (-s ours) Import translations. DO NOT MERGE
* commit '
521c59a88201b0c74991d4928f19ece4d33e53c1':
Import translations. DO NOT MERGE
Sunny Goyal [Wed, 7 Oct 2015 20:40:30 +0000 (20:40 +0000)]
am
95bae9a4: am
c84e6e19: Disabling widget debug
* commit '
95bae9a43d5192c4f8c3282c56647c6446aa3f72':
Disabling widget debug
Winson [Wed, 7 Oct 2015 20:40:29 +0000 (20:40 +0000)]
am
44818e07: Fixing regression in removing widgets via accessibility.
* commit '
44818e07af5312fac0c97360929c62e599cfd164':
Fixing regression in removing widgets via accessibility.
Sunny Goyal [Wed, 7 Oct 2015 20:40:28 +0000 (20:40 +0000)]
am
935eedad: Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish
* commit '
935eedad971d6d27521a16501768f06ebd9eb6a6':
Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway.
Winson [Wed, 7 Oct 2015 20:40:27 +0000 (20:40 +0000)]
am
34ef93cc: am
058c21db: Ensure accessibility delegate is set on all apps icons.
* commit '
34ef93ccd6e2cdb4b12cf7bf6bedf8216662e2b2':
Ensure accessibility delegate is set on all apps icons.
Sunny Goyal [Wed, 7 Oct 2015 20:40:26 +0000 (20:40 +0000)]
am
a682a5d8: Make sure that the dimensions are not negative when drawing pending widget
* commit '
a682a5d8c747ac9cbbe10fb791a0548863422270':
Make sure that the dimensions are not negative when drawing pending widget
Winson [Wed, 7 Oct 2015 20:04:30 +0000 (13:04 -0700)]
resolved conflicts for
1845049c to ub-launcher3-master
Change-Id: I25a01a0735be754f4c8daef5a4a04eaec651b95c
Sunny Goyal [Fri, 26 Jun 2015 02:35:49 +0000 (19:35 -0700)]
Moving a few testing classes to a separate package
Change-Id: Ied1c063de3e938695493e4937f554686e0719dad
Sunny Goyal [Wed, 7 Oct 2015 17:22:44 +0000 (17:22 +0000)]
Merge "Fixing overscroll effect when the navigation bar is opaque" into ub-launcher3-burnaby-polish
Geoff Mendal [Wed, 7 Oct 2015 14:21:03 +0000 (07:21 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ifd0c7cf9752ab62bb006b5e09abcceed538d196a
Auto-generated-cl: translation import
Geoff Mendal [Wed, 7 Oct 2015 14:19:53 +0000 (07:19 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ibbe258e46dd396e9186a47b3881796e12f689e33
Auto-generated-cl: translation import
Sunny Goyal [Wed, 23 Sep 2015 18:40:53 +0000 (11:40 -0700)]
Verifying that the table was successfully created during initialzation
Table creation sometimes fails scilently, which leads to a crash loop.
This way, we will try to create a table every time after crash, so
the device would eventually be able to recover.
Bug:
24263894
Change-Id: Ic0169d33f4092042423afa24320182786c544d47
Geoff Mendal [Tue, 6 Oct 2015 21:15:30 +0000 (21:15 +0000)]
am
53d3be63: (-s ours) Import translations. DO NOT MERGE
* commit '
53d3be63a5ab056280279bcb13089faae0e7796f':
Import translations. DO NOT MERGE
Geoff Mendal [Tue, 6 Oct 2015 21:06:53 +0000 (14:06 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
22482938
Change-Id: I758693c47b7d200da62bc1e9df4d0faaf9b147f2
Tony Wickham [Tue, 6 Oct 2015 20:53:46 +0000 (20:53 +0000)]
am
3a3517fb: Add widget size options for QSB.
* commit '
3a3517fb6c17120c6d11e5c95a0de4e81205d0ae':
Add widget size options for QSB.
Tony Wickham [Tue, 6 Oct 2015 18:27:04 +0000 (11:27 -0700)]
Add widget size options for QSB.
Bug:
24704753
Change-Id: I3e16c1f67a67b08b3843f7f38312447bdfa6a91e
Tony Wickham [Fri, 2 Oct 2015 23:22:08 +0000 (16:22 -0700)]
Actually call LauncherTransitionable.onLauncherTransitionStep().
Previously, it was only called at the start and end of the transition;
now it is called as the animation interpolates. Specifically, a dummy
ValueAnimator is played alongside the transition animation and calls
dispatchOnLauncherTransitionStep() as it goes.
One place where this is important is in Workspace, where
mTransitionProgress is used to determine things like whether the
workspace should accept a drop - hence the bug that caused apps dragged
from All Apps to vanish when dropped before the transition ended.
Bug:
24215358
Change-Id: I32cd633c53557305caf84e87c9a4d4f07eef2223
Sunny Goyal [Thu, 1 Oct 2015 21:04:18 +0000 (14:04 -0700)]
Removing some unused resources
Change-Id: I6aa8a2d7eb4599ed2351c54fe0885839b5ba4521
Sunny Goyal [Mon, 5 Oct 2015 21:06:46 +0000 (21:06 +0000)]
Merge "Adding some information in bug reports" into ub-launcher3-master
Sunny Goyal [Mon, 5 Oct 2015 17:36:54 +0000 (10:36 -0700)]
Update the widget spans after the provider changes
Bug:
24003213
Change-Id: I51ad5919a808ef10385d62a48a94589eefcb06bc
Tony Wickham [Mon, 5 Oct 2015 19:42:24 +0000 (19:42 +0000)]
Merge "Added 'Cancel' drop target from all apps and widget picker." into ub-launcher3-master
Sunny Goyal [Mon, 5 Oct 2015 18:26:19 +0000 (18:26 +0000)]
Merge "Jailing the saved instance state of all the dynamically generated views" into ub-launcher3-burnaby-polish
Sunny Goyal [Fri, 28 Aug 2015 00:45:46 +0000 (17:45 -0700)]
Jailing the saved instance state of all the dynamically generated views
Using itemId instead of generating a new id for each item. This is because
if the process gets killed, View.generateId will get reset but we will still
receive the generated item id map in onRestoreInstance. This will cause
conflicts with newly generated item ids.
We wrap all the generated homescreen views inside a single sparse array. This
ensures that we do not cause any conflict with dynamically generated views in
other parts of the UI.
Bug:
16840760
Change-Id: I6fe69c2e1dd463402f51222715fae31b9d4dd240
Winson Chung [Mon, 5 Oct 2015 17:58:42 +0000 (17:58 +0000)]
Merge "Fixing regression when removing last item from folder." into ub-launcher3-burnaby-polish
Tony Wickham [Thu, 1 Oct 2015 20:04:22 +0000 (13:04 -0700)]
Added 'Cancel' drop target from all apps and widget picker.
- Reuse DeleteDropTarget since it's the same effect, but with "Cancel"
instead of "Remove" if supportsDeleteDropTarget() returns false.
- Rename related strings (but not their values)
Bug:
24104015
Bug:
24099531
Change-Id: Ia9fbcaa17bb17f7aa31df1f830298da01544c178
Geoff Mendal [Mon, 5 Oct 2015 14:20:33 +0000 (07:20 -0700)]
Import translations. DO NOT MERGE
Change-Id: I0113ddc9fa5b88c64999f13f720f7215f7f5f6f3
Auto-generated-cl: translation import
Geoff Mendal [Mon, 5 Oct 2015 14:19:24 +0000 (07:19 -0700)]
Import translations. DO NOT MERGE
Change-Id: Id66043bc65557ef6a886bb1bec6ef18590a7056b
Auto-generated-cl: translation import
Winson [Sat, 3 Oct 2015 00:14:14 +0000 (17:14 -0700)]
Fixing regression when removing last item from folder.
- The regression caused the folder and all its contents to be removed
before the new item could be moved to the place of the folder. In
addition, in this case, the LauncherModel would get out of sync with
the db because we move the last item to the workspace, but don’t
remove it from the contents, so deleting the folder would remove the
item’s mapping in sBgItemIdMap.
Bug:
24620815
Change-Id: I17137f28b0f1617a890488c7a9c5b8a9e8df0e91
Sunny Goyal [Fri, 2 Oct 2015 20:23:05 +0000 (20:23 +0000)]
am
c84e6e19: Disabling widget debug
* commit '
c84e6e19363c590bbfbac17e9ab7cc61a04d552a':
Disabling widget debug
Sunny Goyal [Fri, 2 Oct 2015 19:48:37 +0000 (12:48 -0700)]
Disabling widget debug
Change-Id: I876a904358ce455c97a7a25a34c66af5e9316469
Winson [Fri, 2 Oct 2015 18:25:46 +0000 (11:25 -0700)]
Fixing regression in removing widgets via accessibility.
- Regression was introduced in ag/765323, but not visible in normal
drag and drop because the view is already removed from the parent.
However, when accessibility is enabled, it was only removing it from
the db, but not from the parents.
Change-Id: I37483d0cd6306d270441b11e6f05247d58b88521
Sunny Goyal [Fri, 2 Oct 2015 17:40:35 +0000 (17:40 +0000)]
Merge "Do not reinflate/rebind widgets if we are going the rebind the full workspace anyway." into ub-launcher3-burnaby-polish
Winson [Fri, 2 Oct 2015 17:21:59 +0000 (17:21 +0000)]
am
058c21db: Ensure accessibility delegate is set on all apps icons.
* commit '
058c21db49f4f058b7d84c8de55d3c649918ab70':
Ensure accessibility delegate is set on all apps icons.
Winson [Fri, 2 Oct 2015 17:14:14 +0000 (10:14 -0700)]
Ensure accessibility delegate is set on all apps icons.
Bug:
24605237
Change-Id: I801e2aca1732c021b06d996d907f368f97277cf9
Sunny Goyal [Fri, 2 Oct 2015 02:35:03 +0000 (19:35 -0700)]
Make sure that the dimensions are not negative when drawing pending widget
Bug:
24585203
Change-Id: I3d328d0e1fe81d2704bb5b9d4b340a367bfb9249
Sunny Goyal [Fri, 2 Oct 2015 01:50:48 +0000 (18:50 -0700)]
Do not reinflate/rebind widgets if we are going the rebind the full
workspace anyway.
Bug:
23820213
Bug:
24582781
Change-Id: I2cb4927916fed64a69100beb41ee14653ea1d70a
Winson Chung [Thu, 1 Oct 2015 22:53:15 +0000 (22:53 +0000)]
Merge "Replace Long.compare() with implementation." into ub-launcher3-burnaby-polish
Sunny Goyal [Thu, 1 Oct 2015 22:46:24 +0000 (15:46 -0700)]
Adding some information in bug reports
> Dumping workspace items
> Dumping loader logs for crashes and data deletion
> Removing unnecessary log dumps
Change-Id: Ia320988c2e3665e4d605d6e88bca77738e749273