OSDN Git Service
Tony Wickham [Wed, 12 Oct 2016 21:22:05 +0000 (21:22 +0000)]
Merge "Use Launcher.getLauncher(Context) instead of type-casting." into ub-launcher3-calgary-polish
Sunny Goyal [Tue, 11 Oct 2016 17:54:39 +0000 (10:54 -0700)]
Announcing the final action when the drag-drop completes
Bug:
31926812
Change-Id: Id0566cc7dc15732981320807a02fb9cae8a885e6
Sunny Goyal [Mon, 10 Oct 2016 20:37:51 +0000 (20:37 +0000)]
Merge "Updating the folder cell dimensions to be closer to a square" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 7 Oct 2016 21:48:19 +0000 (21:48 +0000)]
Merge "Set correct accessibility delegate for the overview mode. b/
32004538" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 7 Oct 2016 21:19:30 +0000 (14:19 -0700)]
Set correct accessibility delegate for the overview mode.
b/
32004538
Change-Id: Ie68fe418b777784d747b004600ef1c98e96a4791
Sunny Goyal [Fri, 7 Oct 2016 20:36:15 +0000 (13:36 -0700)]
Updating the folder cell dimensions to be closer to a square
Bug:
31813976
Change-Id: I05d7520daee28a310ff122deaf265951e454d21e
Tony [Fri, 7 Oct 2016 19:50:01 +0000 (12:50 -0700)]
Use Launcher.getLauncher(Context) instead of type-casting.
Bug:
32010039
Change-Id: Icb80d3e547a706740b84df2cb80f99e4a7f81c43
Sunny Goyal [Fri, 7 Oct 2016 18:04:15 +0000 (18:04 +0000)]
Merge "Using add/replace instead of update when updating an entry." into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 7 Oct 2016 16:46:49 +0000 (09:46 -0700)]
Using add/replace instead of update when updating an entry.
Update operation was not including version and updateTime columns
leading to a update operation getting called wheneven launcher loads.
Bug:
32004297
Change-Id: I5f1793633ce3bb72d5641a82502b3ba8b9cdff7d
Hyunyoung Song [Thu, 6 Oct 2016 19:37:45 +0000 (12:37 -0700)]
Bye bye swipe down search
b/
31935141
Change-Id: I4ab6741baa4681358a8a234860179d2de4290fd7
Hyunyoung Song [Mon, 3 Oct 2016 21:01:25 +0000 (14:01 -0700)]
Add user event logging for tap on search
b/
31772967
Change-Id: I71ececb8195d46405623a8ae2a99d001088d9181
Hyunyoung Song [Fri, 30 Sep 2016 23:21:04 +0000 (23:21 +0000)]
Merge "Consume ACTION_UP when fling is detected on top of icon" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 30 Sep 2016 23:13:55 +0000 (16:13 -0700)]
Consume ACTION_UP when fling is detected on top of icon
Bug: Adam found out that when you swipe down fast on an icon, you can
launch search AND launch an app. Only one should trigger and not both.
Change-Id: I66b9df26d8bb355f011d057dafd45f90f59b82ae
Hyunyoung Song [Fri, 30 Sep 2016 20:53:21 +0000 (20:53 +0000)]
Merge "Agressively change the color of the the all apps background during pull up b/
30502942" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 30 Sep 2016 19:57:16 +0000 (12:57 -0700)]
Agressively change the color of the the all apps background during pull up
b/
30502942
Change-Id: Iea072d95ed4f62907b164b2c4ee75ad737eccb7a
TreeHugger Robot [Thu, 29 Sep 2016 07:31:07 +0000 (07:31 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Thu, 29 Sep 2016 04:50:56 +0000 (21:50 -0700)]
Import translations. DO NOT MERGE
Change-Id: I654a22df571448ce858325439e0d73a0d0bbe623
Auto-generated-cl: translation import
Tony Wickham [Thu, 29 Sep 2016 01:27:07 +0000 (01:27 +0000)]
Merge "Some minor fixes for extracted status bar." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 22:34:51 +0000 (15:34 -0700)]
Some minor fixes for extracted status bar.
- setLightStatusBar() is now updateStatusBar(), with a forceLight
parameter. We set the status bar to be light if forceLight or
shouldBeLightStatusBar() (based on wallpaper).
- Force status bar to be light if all apps is open.
- Default to dark status bar, not light (light == dark icons)
Bug:
29452834
Change-Id: I7b102ceff2f1ef2ab8defd4a46c698df4feaf2a5
Tony Wickham [Wed, 28 Sep 2016 23:47:07 +0000 (23:47 +0000)]
Merge "Decrease drop target left and right padding." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 28 Sep 2016 23:22:36 +0000 (16:22 -0700)]
Decrease drop target left and right padding.
Otherwise it looks like we are aggressively truncating the
text even though there is plenty of room to show it.
Bug:
31790418
Change-Id: Ia1cdc232f05815732d4cb95b954e935724a200fd
Sunny Goyal [Wed, 28 Sep 2016 22:57:56 +0000 (22:57 +0000)]
Merge "Fixing the newIntent logic to check the state before it has been reset." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 14 Sep 2016 23:46:32 +0000 (16:46 -0700)]
Enable light status bar when top of wallpaper is light.
(Light status bar = dark icons)
Bug:
29452834
Change-Id: I9f61a05d80158827761c8b62ab40fc50971e27a6
Sunny Goyal [Wed, 28 Sep 2016 19:00:07 +0000 (12:00 -0700)]
Fixing the newIntent logic to check the state before it has been reset.
When home button is pressed, we reset all active state (close all-apps,
folder, shortcuts menu). But we do not go to the default screen if the
active state was non-zero (any of the containers were open).
Change-Id: Ia9a06729d65767124471c5b793323a55d822210a
Hyunyoung Song [Wed, 28 Sep 2016 01:07:00 +0000 (18:07 -0700)]
Add user event logging for action on search box
b/
31772967
Change-Id: Ide652ddfad931e392b21f5a2bbdf9f07729d0383
Sunny Goyal [Tue, 27 Sep 2016 17:03:34 +0000 (17:03 +0000)]
Merge "Removing reflection from AlphabeticIndexCompat" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 26 Sep 2016 23:46:38 +0000 (16:46 -0700)]
Removing reflection from AlphabeticIndexCompat
Bug:
31596662
Change-Id: I23da4a9747daa3cee6cec961fc590d18bf05791a
TreeHugger Robot [Tue, 27 Sep 2016 03:11:06 +0000 (03:11 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Mon, 26 Sep 2016 14:22:30 +0000 (07:22 -0700)]
Import translations. DO NOT MERGE
Change-Id: I52c77c4ced9b7ebb7d00e1256ec9ed82de13a2ba
Auto-generated-cl: translation import
Tony [Sat, 24 Sep 2016 01:58:37 +0000 (18:58 -0700)]
Don't attempt to add item back to folder when deferring drag.
Since the item hasn't yet been removed until the deferred drag
starts, adding it again will throw an exception (the view
already has a parent).
Bug:
30769920
Change-Id: Icb95aaa64e6e3c5dc105bbf3e54460b529d02033
Tony Wickham [Mon, 19 Sep 2016 21:06:31 +0000 (14:06 -0700)]
Refactor shortcuts drag and drop.
- Instead of creating our own drag view within the container, and
handling logic to determine when to start a real drag, we start
the drag immediately and just defer onDragStart().
- To determine when the deferred drag should start, we add a
DeferDragCondition to DragOptions. The default DeferDragCondition
never defers a drag, but is overridden for apps with shortcuts
to defer until the icon is dragged a given distance.
- Because the drag is handled in DragController, including checking
when to start the deferred drag, DeepShortcutsContainer no longer
needs to handle touch events and ShortcutsContainerListener has
been removed.
This change has several immediate benefits:
- The code is much cleaner, because it allows touch handling to be
done by the DragController through the normal drag flow, without
recreating logic in ShortcutsContainerListener/DeepShortcutContainer.
- The janky second haptic feedback has been removed (now it vibrates
when you long press, like everywhere else, but not again when the
shortcuts close after dragging a distance).
- Drops are animated, instead of just popping the icon back into place.
Bug:
30769920
Bug:
30465972
Bug:
31533078
Change-Id: I679b412b72fbf6c3895d76963311eb5010c8e8db
Sunny Goyal [Fri, 23 Sep 2016 17:19:39 +0000 (10:19 -0700)]
Removing center vertical from folder gravity.
Using center vertical alogn with a fixed height, overrides
the custom drawable padding and divides the available space
proportionally between padding and drawable padding
Change-Id: I4523543ab3007ef40eac69d878d2afbca13b483a
Tony Wickham [Fri, 23 Sep 2016 00:34:53 +0000 (00:34 +0000)]
Merge "Stop jumping to workspace from hotseat on quick drop." into ub-launcher3-calgary-polish
Tony Wickham [Fri, 23 Sep 2016 00:32:21 +0000 (00:32 +0000)]
Merge "Remove shortcuts that no longer exist or are no longer pinned." into ub-launcher3-calgary-polish
Tony Wickham [Fri, 5 Aug 2016 19:44:51 +0000 (12:44 -0700)]
Remove shortcuts that no longer exist or are no longer pinned.
(This change is in the onShortcutsChanged() callback.)
- Remove all workspace icons that correspond to shortcuts that
are now unpinned
- Remove all workspace icons that have the same package and
user handle as passed in onShortcutsChanged(), if they aren't
included in the list of shortcuts that is also passed.
These cases will happen for static and dynamic shortcuts,
respectively, when an app's data is cleared.
Bug:
30316501
Change-Id: I50db6567cb318d087012ab5d8208e765b81c6f99
Tony Wickham [Thu, 22 Sep 2016 20:01:46 +0000 (13:01 -0700)]
Move shortcut fade interpolator outside of loop.
Change-Id: I64806897afcd1062dfbaefd6dca07f024f7346af
Tony Wickham [Thu, 22 Sep 2016 19:55:52 +0000 (19:55 +0000)]
Merge "Fade deep shorcuts in and out." into ub-launcher3-calgary-polish
Tony Wickham [Tue, 20 Sep 2016 23:15:13 +0000 (16:15 -0700)]
Fade deep shorcuts in and out.
Animate open:
- Stagger-fade shortcuts as they open
- Become fully opaque before fully open, at which point the
arrow animates in (scale). This way there is no overlap of
a translucent shortcut over an opaque arrow.
Animate close:
- Stagger-fade shortcuts as they close
- Delay fade until arrow animation is finished, to ensure
there is no overlapping of translucent and opaque.
This is much less visually jarring when quickly dragging
and dropping apps with shortcuts.
Bug:
31533078
Change-Id: I8673ee64e92414c718233ea89b70362187e53696
Hyunyoung Song [Thu, 22 Sep 2016 18:21:53 +0000 (18:21 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary
am:
b7d16b7e5c
Change-Id: I95a6bfc2247eb98d5c3758589989bcaf2657e072
Hyunyoung Song [Thu, 22 Sep 2016 18:17:25 +0000 (18:17 +0000)]
Fixing two critical bugs in all apps transition controller
am:
0a9c092c89
Change-Id: I115b7bc6d165dc9d5e73e1878b96d194bfc62da7
Hyunyoung Song [Thu, 22 Sep 2016 17:36:40 +0000 (17:36 +0000)]
Merge "Fixing two critical bugs in all apps transition controller" into ub-launcher3-calgary
TreeHugger Robot [Thu, 22 Sep 2016 09:53:25 +0000 (09:53 +0000)]
Merge "Import translations. DO NOT MERGE" into ub-launcher3-calgary-polish
Bill Yi [Thu, 22 Sep 2016 07:17:47 +0000 (00:17 -0700)]
Import translations. DO NOT MERGE
Change-Id: Idd135c03ff2a6ff9d08ca6c4e9e5ec6ae1520efa
Auto-generated-cl: translation import
Hyunyoung Song [Thu, 22 Sep 2016 00:10:55 +0000 (00:10 +0000)]
Merge "Make IME less sticky when launching a new app b/
31382106" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 22 Sep 2016 00:03:56 +0000 (17:03 -0700)]
Make IME less sticky when launching a new app
b/
31382106
Change-Id: Iee60a2f7e6a70858623e80d4b8b68154d1941210
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary
am:
d6925a9f70
Change-Id: I163101ef0a64eb38e47597db49b644290d5bb3c3
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:53:20 +0000 (19:53 +0000)]
Created include filters for jacoco
am:
687c345f9e
Change-Id: Iba826f45c2a0c0d5952090d2f454f18c7534403d
Shankhoneer Chakrovarty [Wed, 21 Sep 2016 19:47:05 +0000 (19:47 +0000)]
Merge "Created include filters for jacoco" into ub-launcher3-calgary
Hyunyoung Song [Wed, 21 Sep 2016 05:50:06 +0000 (22:50 -0700)]
Fixing two critical bugs in all apps transition controller
bug#1: if long press from page indicator region, you can pull up all apps
even though the workspace is in overview state.
bug#2: all apps should not intercept touch not only in overview mode
but also in any modal state.
Change-Id: I91c0a181f037f6c2465a983825da3a2da7e2920f
Tony Wickham [Tue, 13 Sep 2016 01:09:33 +0000 (18:09 -0700)]
Stop jumping to workspace from hotseat on quick drop.
Regression occurred in ag/
1315317.
In that change, Launcher#enterSpringLoadedDragMode() was moved from
the end of startDrag() to the end of onDragStart(). This changed the
sequence of events from:
beginDragShared() --> DragController#startDrag() --> onDragStart -->
dropTarget.onDragOver() --> Launcher#enterSpringLoadedDragMode()
to:
beginDragShared() --> DragController#startDrag() --> onDragStart -->
Launcher#enterSpringLoadedDragMode() --> onDragOver()
Basically, the key difference is that onDragOver() is called after
enterSpringLoadedDragMode(). This matters, because onDragOver()
returns early if Workspace#transitionStateShouldAllowDrop() returns
false, which it does during the spring loaded transition. This meant
that onDragOver() didn't update the layout to be Hotseat, and thus
the current workspace page was used as default, since that is what
was set in onDragEnter(). To fix it, I've copied the logic in
onDragOver() that checks to see if the drag is over the hotseat first
to a new method that onDragEnter() now calls as well.
Bug:
31245181
Change-Id: Ie758921b25fc96516a09c32bdc9706da941522df
Hyunyoung Song [Tue, 20 Sep 2016 21:10:34 +0000 (21:10 +0000)]
Merge "Fix ExtendedEditText not handling touch correctly b/
31555902" into ub-launcher3-calgary-polish
Tony Wickham [Tue, 20 Sep 2016 20:49:37 +0000 (20:49 +0000)]
Merge "When shortcuts close, only set text visible if not in hotseat." into ub-launcher3-calgary-polish
Hyunyoung Song [Tue, 20 Sep 2016 19:37:41 +0000 (12:37 -0700)]
Fix ExtendedEditText not handling touch correctly
b/
31555902
Change-Id: Ife23cf6af29ac47315aee4abc0ffe2dbcde352f9
Shankhoneer Chakrovarty [Thu, 15 Sep 2016 01:30:05 +0000 (18:30 -0700)]
Created include filters for jacoco
Go to for report: https://cnsviewer.corp.google.com/ear/cns/on-d/home/android-test/kharon/shankh/world/test_logs/ub-launcher3-calgary/0/CodeCoverage/inv_5368912399306607305/coverage_8663315225010526892.ear/index.html
go to https://x20web.corp.google.com/users/sh/shankh/coverage/index.html for source code level code coverage statistics
Bug:
29882934
Change-Id: I397537f45ac4611e8a97d4656d0e7d2b694688fc
Jonathan Miranda [Mon, 19 Sep 2016 23:08:42 +0000 (23:08 +0000)]
Merge "Only reset search field when back key is hit if there is no query." into ub-launcher3-calgary-polish
Jonathan Miranda [Mon, 19 Sep 2016 23:04:11 +0000 (23:04 +0000)]
Merge "Add context to widget dimensions for accessibility." into ub-launcher3-calgary-polish
Jon Miranda [Mon, 19 Sep 2016 21:43:54 +0000 (21:43 +0000)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.
am:
0ef81fdc22
Change-Id: I33962020ff1cf75e46254c24687a53fd5b2088fa
Jon Miranda [Fri, 16 Sep 2016 19:38:09 +0000 (12:38 -0700)]
Uses a TransformingTouchDelegate to extend touch target for widgets list.
The widget row contents were being clipped, which made it seem like
the horizontal scroll was broken.
Bug:
30023607
Change-Id: I00b0c334bbb0faf166d4cd168392cc494ed732e0
Jon Miranda [Mon, 19 Sep 2016 18:25:39 +0000 (11:25 -0700)]
Add context to widget dimensions for accessibility.
Bug:
19085860
Change-Id: Ia28c2c14b93945d796226eea3de040e971fd42f0
Sunny Goyal [Mon, 19 Sep 2016 16:33:40 +0000 (16:33 +0000)]
Merge "Updating the paddings in folder cell" into ub-launcher3-calgary-polish
Jon Miranda [Mon, 19 Sep 2016 16:31:56 +0000 (09:31 -0700)]
Only reset search field when back key is hit if there is no query.
Bug:
31432372
Change-Id: I93c7ee661597f934402f464c4f0182a8fad38d39
Hyunyoung Song [Fri, 16 Sep 2016 19:34:39 +0000 (19:34 +0000)]
Merge "Fixing issue where overview->normal workspace mode cannot be done by tapping b/
31458165" into ub-launcher3-calgary-polish
Sunny Goyal [Wed, 14 Sep 2016 18:26:21 +0000 (11:26 -0700)]
Updating the paddings in folder cell
> Updating overall padding for the cell and adding drawable padding
> Ensuring that the folder cell is always rendered properly based
on available vertical space
Bug:
30605958
Change-Id: I8ceb9fea5a25052b0d7461f52edca0e6a33fa085
Hyunyoung Song [Fri, 16 Sep 2016 19:03:27 +0000 (12:03 -0700)]
Fixing issue where overview->normal workspace mode cannot be done by tapping
b/
31458165
Because workspaceInModalState makes the VerticalFlingDetector
to consume the touch input, click is not detected in Overview mode.
Placed pulldown to search behind a feature flag.
Change-Id: I31ab69f57944a18e6b264c4f2ed2d0c1175cd940
Tony Wickham [Fri, 16 Sep 2016 18:47:48 +0000 (18:47 +0000)]
Merge "Don't close all apps when touching deep shortcuts container." into ub-launcher3-calgary-polish
Jonathan Miranda [Fri, 16 Sep 2016 17:47:27 +0000 (17:47 +0000)]
Merge "Fixed NumberFormatException when trying to display vector drawable." into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 15 Sep 2016 23:31:37 +0000 (23:31 +0000)]
Merge "Set contentDescription on caret" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 15 Sep 2016 23:19:14 +0000 (16:19 -0700)]
Set contentDescription on caret
Change-Id: I1f66b96b3f94649d85857b0107144bb4070ef448
Jon Miranda [Thu, 15 Sep 2016 22:07:44 +0000 (15:07 -0700)]
Fixed NumberFormatException when trying to display vector drawable.
Found while debugging on Lollipop.
Change-Id: Idb098d3a8f7f1fa608fd8a32225cdefa41ba47a7
Jon Miranda [Thu, 15 Sep 2016 22:05:12 +0000 (15:05 -0700)]
Use ContextCompat.getColor to support API levels below 23.
Found while debugging on Lollipop.
Change-Id: Ibe97fd30c4ee8cd0c1735a41802b859345f9e931
Sunny Goyal [Thu, 15 Sep 2016 21:33:10 +0000 (21:33 +0000)]
Adding support for extending the touch target in the touchDelegate
am:
1cc48e1d0c
Change-Id: I29ce4b52a2b687f73b2db4ddb633210e905aad69
Sunny Goyal [Thu, 15 Sep 2016 19:32:28 +0000 (12:32 -0700)]
Adding support for extending the touch target in the touchDelegate
Bug:
31458312
Change-Id: Ic819bdede2776ff63ec17053cc1326415edc1ca0
Jon Miranda [Thu, 15 Sep 2016 19:31:28 +0000 (12:31 -0700)]
Fix bug where page indicator animation repeats itself.
Bug:
31501865
Change-Id: I0df77859b82b60fd0e50023e0f5690961850cf6c
Hyunyoung Song [Thu, 15 Sep 2016 17:48:25 +0000 (10:48 -0700)]
Pull down should start search.
b/
31458165
Change-Id: If4821e3d89a05a00551af6a5209ebc1693a1389b
Sunny Goyal [Tue, 13 Sep 2016 21:19:29 +0000 (14:19 -0700)]
Simplifying the startSearch call in launcher callbacks
Change-Id: I722e110903cced237f05667c4d711468d7cd3daa
Sunny Goyal [Mon, 12 Sep 2016 21:36:30 +0000 (14:36 -0700)]
Adding support for multiwindow drag and drop
Change-Id: I95b46e3c3f1238307d3ef5a6c81a8e530ba0987a
Sunny Goyal [Mon, 12 Sep 2016 20:21:04 +0000 (20:21 +0000)]
Merge "Using DragObject for folder drop instead of maintaining states when drag starts from inside a folder" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 12 Sep 2016 18:10:29 +0000 (18:10 +0000)]
Merge "Fixing double system state call in iconCache" into ub-launcher3-calgary-polish
Sunny Goyal [Mon, 12 Sep 2016 18:09:48 +0000 (18:09 +0000)]
Merge "Adding support for searching word segments when camelcase is used in the title" into ub-launcher3-calgary-polish
Sunny Goyal [Sun, 11 Sep 2016 21:48:39 +0000 (14:48 -0700)]
Fixing double system state call in iconCache
Change-Id: I6d43c8054c18e199f4343662f92631f0808c773e
Sunny Goyal [Fri, 9 Sep 2016 03:31:38 +0000 (20:31 -0700)]
Adding support for searching word segments when camelcase is used in the title
Bug:
30880421
Change-Id: If642d24408fe0e80b5a0dd9a2a57d2f3c2d92ea9
Sunny Goyal [Fri, 9 Sep 2016 19:42:10 +0000 (12:42 -0700)]
Using DragObject for folder drop instead of maintaining states when
drag starts from inside a folder
Change-Id: I073b59c194d0bd483d579bbcb638b116b09590a0
Sunny Goyal [Sat, 10 Sep 2016 00:04:51 +0000 (00:04 +0000)]
Merge "Preventing a shortcut which requires permissions from being added to homescreen" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 9 Sep 2016 22:13:33 +0000 (22:13 +0000)]
Merge "Show IME when search query != null after rotation" into ub-launcher3-calgary-polish
Hyunyoung Song [Fri, 9 Sep 2016 22:02:20 +0000 (15:02 -0700)]
Show IME when search query != null after rotation
Change-Id: Ia35fba140a5addc21bf347cd63b72dc4e357421e
TreeHugger Robot [Fri, 9 Sep 2016 00:02:39 +0000 (00:02 +0000)]
Merge "Fix deferred shortcut container removal." into ub-launcher3-calgary-polish
TreeHugger Robot [Fri, 9 Sep 2016 00:02:35 +0000 (00:02 +0000)]
Merge "Don't show app info for ITEM_TYPE_SHORTCUT." into ub-launcher3-calgary-polish
Tony Wickham [Thu, 8 Sep 2016 22:00:24 +0000 (15:00 -0700)]
Don't show app info for ITEM_TYPE_SHORTCUT.
Bug:
30440566
Change-Id: I77b101331ea249c633be9f7df1edebefa7b9e0a8
Sunny Goyal [Thu, 8 Sep 2016 21:32:06 +0000 (14:32 -0700)]
Preventing a shortcut which requires permissions from being added to
homescreen
A shortcut can be added by any app as INSTALL_SHORTCUT is a normal
level permission. But the intent is actually launched by the launcher
app which can have other permission as well.
> When adding a shortcut from the broadcast, verify that the intent does
not require any permission
> When adding a shortcut using the two-step drop process, verify that
the source app also has the permission to create such a shortcut
Bug:
30778130
Change-Id: I710a490d69019dc25709db5a97020c20d9325007
Sunny Goyal [Thu, 8 Sep 2016 21:30:45 +0000 (21:30 +0000)]
Merge "Launcher restore state fixes:" into ub-launcher3-calgary-polish
Tony Wickham [Thu, 8 Sep 2016 21:20:48 +0000 (14:20 -0700)]
Don't close all apps when touching deep shortcuts container.
Bug:
31373894
Change-Id: Ica1d0c2318e8f5d3e45196174c9b495a1c2515cd
Tony Wickham [Thu, 8 Sep 2016 20:58:35 +0000 (13:58 -0700)]
Fix deferred shortcut container removal.
- Previously, the drag listener listener was removed from the
container as soon as it started animating closed, which got
rid of its opportunity to complete the deferred removal.
- The deferred removal now calls close(), which does further
cleanup including updating the app icon's text visibility.
Bug:
31248681
Change-Id: I18e545e7e19e50b7d47e23a5beb8f254ba1a4ccf
Sunny Goyal [Thu, 8 Sep 2016 20:16:48 +0000 (20:16 +0000)]
Merge "Updating the assets for the all-apps search background." into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 2 Sep 2016 20:21:00 +0000 (13:21 -0700)]
Updating the assets for the all-apps search background.
Bug:
30309105
Change-Id: I4dd4a97ff49fd3c6dd386f100ca35dfb629044df
Tony Wickham [Thu, 8 Sep 2016 17:04:40 +0000 (17:04 +0000)]
Merge "Add outline to shortcuts when focused." into ub-launcher3-calgary-polish
Tony Wickham [Wed, 31 Aug 2016 20:30:27 +0000 (13:30 -0700)]
Add outline to shortcuts when focused.
Bug:
30563273
Change-Id: Ia54c112dcf91c225588b7388001eb93ee5c03171
Hyunyoung Song [Wed, 7 Sep 2016 22:40:49 +0000 (22:40 +0000)]
Change all apps caret target bounding box b/
30400751
am:
da1c17c492
Change-Id: Ic3b9cc87ec75e13162588bab8cefe8f870af13f8
Sunny Goyal [Wed, 7 Sep 2016 21:48:50 +0000 (21:48 +0000)]
Merge "Preventing concurrentmodification exception when dragging a icon with shortcuts from inside a folder" into ub-launcher3-calgary-polish
Hyunyoung Song [Wed, 7 Sep 2016 21:45:09 +0000 (14:45 -0700)]
Change all apps caret target bounding box
b/
30400751
1) This also fixes the issue of apps drawer sliding up when page is swiped
horizontally immediately above the hotseat area.
2) Disclaimer: this should be cp'ed to calgary.
Hence, I tried to keep the diff small. Ideally, CaretDrawable animation
handling should move to AllAppsHandleImageView via refactoring in
follow up CL.
Change-Id: I4d808ee2eeca53b40c0b4e4e0e364fef056e26c3
(cherry picked from commit
016eaeea99e163f0b5385cf660297e6c21ff21e5)
Hyunyoung Song [Wed, 7 Sep 2016 21:46:04 +0000 (21:46 +0000)]
Merge "Change all apps caret target bounding box b/
30400751" into ub-launcher3-calgary-polish