OSDN Git Service
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 [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
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
Sunny Goyal [Wed, 7 Sep 2016 21:39:41 +0000 (14:39 -0700)]
Preventing concurrentmodification exception when dragging a icon
with shortcuts from inside a folder
When dragging the icon, DeepShortcutContainer removes itself as a
dragListener causing the exception
Change-Id: Ifb2b4a3045caa54aa0b6a9b525055ffdcfaa04a6
Sunny Goyal [Mon, 22 Aug 2016 23:00:03 +0000 (16:00 -0700)]
Launcher restore state fixes:
> Creating PendingRequestArgs to store generic request info across
activity instances
> Storing the CALL_PHONE request in PendingRequestArgs
> Handling onActivityResult only after the workspace has loaded.
onActivityResult sometimes modifies launcher db when removing empty
screens, and any add action is also deferred until bindComplete.
This simplifies this logic.
> Always binding the restored page irrespective of pending result.
Before starting a request activity (bind widget permission, or
widget config activity or shortcut picker), workspace commits the
pending screen id to the DB. Hence the restore page is valid when
restore is called (onResume loads with currentPage instead of
restored page)
Bug:
28573143
Change-Id: I34be603cbeb2145f5caf0d18e016f50029e07df8
Hyunyoung Song [Tue, 6 Sep 2016 18:47:31 +0000 (18:47 +0000)]
Support user event logging for drag and drop b/
30039490
am:
551e5abfe1 -s ours
Change-Id: Ie1edd18af660437dcbd510885f9101b93592b53f
Hyunyoung Song [Thu, 1 Sep 2016 19:47:12 +0000 (12:47 -0700)]
Support user event logging for drag and drop
b/
30039490
Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging
Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
(cherry picked from commit
59a238095e82fd02355f4cb53abe01655a50b051)
Sunny Goyal [Fri, 2 Sep 2016 21:59:12 +0000 (21:59 +0000)]
Removing some reflection code
am:
6ff1ef17a2 -s ours
Change-Id: Ibfc257848b9714a592c016f7f72ead30eabbdc65
Sunny Goyal [Thu, 1 Sep 2016 18:00:49 +0000 (11:00 -0700)]
Removing some reflection code
Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f
(cherry picked from commit
e2ec8a3cd52f2322016fcadbae8963a446e2b0b3)
Sunny Goyal [Fri, 2 Sep 2016 19:18:54 +0000 (19:18 +0000)]
Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary
am:
171fbdbc10
Change-Id: Ia985ac4e86ff5aec8bc20f2decb5d13331dbd386
Sunny Goyal [Fri, 2 Sep 2016 19:18:53 +0000 (19:18 +0000)]
Blocking alpha animation if the initial and final state for the animation are both 0
am:
62e7518359
Change-Id: I3ac4f5be0726e2389e31a8fa3b18c5ca7d955c8c
Sunny Goyal [Fri, 2 Sep 2016 19:18:53 +0000 (19:18 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary
am:
dbbb1fee90
Change-Id: If5d392fb037a57669407c16d428ef12cdd52377a
Sunny Goyal [Fri, 2 Sep 2016 19:18:52 +0000 (19:18 +0000)]
Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout
am:
6f2bb1ada5
Change-Id: I6f6603133cc0bb31fd1d7f354eb0fdefef2f9dea
Sunny Goyal [Fri, 2 Sep 2016 19:18:52 +0000 (19:18 +0000)]
Merge "Fixing broken accessibility drag" into ub-launcher3-calgary
am:
d9033f3ae1
Change-Id: Ib39a4246e3d054d3bb9e88bbeede44471c488e22
Sunny Goyal [Fri, 2 Sep 2016 19:18:26 +0000 (19:18 +0000)]
Fixing broken accessibility drag
am:
9be9936653 -s ours
Change-Id: I784cd756542cb5712a7e94bbc2166ddaf35236aa
Sunny Goyal [Fri, 2 Sep 2016 19:16:29 +0000 (19:16 +0000)]
Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary
am:
7bc4b5bcd4
Change-Id: Ic1a2af3400e49168f37fc89f3cf84bdd60300fd7
Sunny Goyal [Fri, 2 Sep 2016 19:16:28 +0000 (19:16 +0000)]
Fixing overlay scroll state not getting reset properly when scrolling is was cancelled
am:
538b54c467
Change-Id: Ie03ceb66e211e1e961724b7e94cd6519a2a0012d
Hyunyoung Song [Fri, 2 Sep 2016 19:16:28 +0000 (19:16 +0000)]
Landscape container padding update. b/
30021487
am:
6cf1e0f36b
Change-Id: I547443f09702d054f4a60c3ed95570b76bb85193
Sunny Goyal [Fri, 2 Sep 2016 19:15:59 +0000 (19:15 +0000)]
Merge "Some optimizations in blur outline generator" into ub-launcher3-calgary-polish
Sunny Goyal [Fri, 2 Sep 2016 19:14:55 +0000 (19:14 +0000)]
Merge "Blocking alpha animation if the initial and final state for the animation are both 0" into ub-launcher3-calgary
Sunny Goyal [Fri, 2 Sep 2016 19:14:38 +0000 (19:14 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary
Sunny Goyal [Fri, 2 Sep 2016 19:13:56 +0000 (19:13 +0000)]
Merge "Fixing broken accessibility drag" into ub-launcher3-calgary
Sunny Goyal [Fri, 2 Sep 2016 19:13:06 +0000 (19:13 +0000)]
Merge "Fixing overlay scroll state not getting reset properly when scrolling is was cancelled" into ub-launcher3-calgary
Sunny Goyal [Sat, 27 Aug 2016 22:33:16 +0000 (15:33 -0700)]
Bug fix in Alarm where it was not getting called correctly if the
new timeout was set that was smaller than the previously set timeout
> Using uptimeMillis in Alarm to avoid errors due to system time
changes
> Adding an extra check in Wait in case Thread.sleep eats up
all the timeout
Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06
(cherry picked from commit
a2125e1d102034e1d638b5d1e973b5b77cfe1efd)
Sunny Goyal [Wed, 17 Aug 2016 18:11:48 +0000 (11:11 -0700)]
Fixing broken accessibility drag
> Allow touch events on hotseat while in accessible drag as drag now
happens in spring loaded state.
> Allow drop target buttons to ignore thershold check when in
accessibility drag
Bug:
30900444
Change-Id: I88274367983fc027b2ddde3a719ca943f4f48587
(cherry picked from commit
4583d09c0560a83bfd0320299482cc41ac460b0c)
Hyunyoung Song [Tue, 23 Aug 2016 18:06:24 +0000 (11:06 -0700)]
Landscape container padding update.
b/
30021487
Change-Id: I179825eba09f3c4c57175e8f6da49708dae1931c
(cherry picked from commit
9d96fd579039d07a6a36887ae699907631014c8d)
Sunny Goyal [Wed, 31 Aug 2016 23:02:40 +0000 (16:02 -0700)]
Some optimizations in blur outline generator
1) Using ALPHA_8 as the start and end bitmap. This removes one extra
bitmap generation step
2) Using ByteBuffer on ALPHA_8 bitmap for clipAlpha. This allows us
to use byteArray instead of intArray for representing pixels
Change-Id: I1b654c439fd491b6b91180ddc562bb97fad857aa
Sunny Goyal [Fri, 12 Aug 2016 19:46:01 +0000 (12:46 -0700)]
Fixing overlay scroll state not getting reset properly when
scrolling is was cancelled
Bug:
30834333
Change-Id: I3605cd2dd939057905d297b5a25ce8669d578125
(cherry picked from commit
4ff424abf91a24b2ef021e12ab4bed434f13cd40)
Sunny Goyal [Thu, 11 Aug 2016 19:54:04 +0000 (12:54 -0700)]
Blocking alpha animation if the initial and final state for the animation
are both 0
Bug:
30739854
Change-Id: I4f7c579dc3f64a4fed60d7b2f8ecd5f359e165ec
(cherry picked from commit
bf206123a8cfad9f1341b60ff9a138e64b30b6e3)
Sunny Goyal [Fri, 2 Sep 2016 17:41:43 +0000 (10:41 -0700)]
Fixing topView not being considered in all places when calculating accessible
and focusable views
Bug:
30563273
Change-Id: I6253ce33ee5c328efdde2ea733029975b31e5eb8
Sunny Goyal [Tue, 16 Aug 2016 22:36:48 +0000 (15:36 -0700)]
Some drag and drop code refactor:
1) Adding DragOptions to easily extend drap functionality
2) Changing onDragStarted signature to send more information
3) Updating states for dropTargetButton based on drag event directly
4) Removing folder item based on onDragStarted and not startDrag
Change-Id: I65b684e092ddc081d086bfe2c8c1973ed170eaeb
Hyunyoung Song [Thu, 1 Sep 2016 21:51:25 +0000 (21:51 +0000)]
Merge "Support user event logging for drag and drop b/
30039490" into ub-launcher3-calgary-polish
Hyunyoung Song [Thu, 1 Sep 2016 19:47:12 +0000 (12:47 -0700)]
Support user event logging for drag and drop
b/
30039490
Supported in this CL:
- DnD: drag from container [WORKSPACE|HOTSEAT|FOLDER|ALLAPPS|WIDGETS|DEEPSHORTCUTS]
drag to container [HOTSEAT,WORKSPACE,FOLDER,DROPTARGETS]
- Source and target can be [FOLDER_ICON, ICON, DEEPSHORTCUT, WIDGET]
- $ adb shell setprop log.tag.UserEvent DEBUG will turn on debugging
Change-Id: I0b8b879b80e6dce85bbde6e7794f9e0677832603
Sunny Goyal [Thu, 1 Sep 2016 18:48:28 +0000 (18:48 +0000)]
Merge "Removing some reflection code" into ub-launcher3-calgary-polish
Sunny Goyal [Thu, 1 Sep 2016 18:00:49 +0000 (11:00 -0700)]
Removing some reflection code
Change-Id: I8a0a707d69999e5f9911e7d8df7d4a659b3dfb8f
Sunny Goyal [Thu, 1 Sep 2016 17:55:20 +0000 (10:55 -0700)]
Unifying toString() method for various ItemInfo subclasses
Change-Id: I7cde42f0df412e2877fb93c77e74ee56a25edead
Sunny Goyal [Wed, 31 Aug 2016 21:15:40 +0000 (14:15 -0700)]
Splitting some methods into individual compat classes
Change-Id: Id5a2650b290367d1574eb56346beca389900596b
Sunny Goyal [Wed, 31 Aug 2016 20:39:53 +0000 (20:39 +0000)]
Merge "Adding isDemoUser method in userManager" into ub-launcher3-calgary-polish
Sunny Goyal [Wed, 31 Aug 2016 20:12:40 +0000 (13:12 -0700)]
Adding isDemoUser method in userManager
Change-Id: I0ad2c0e7bfac5eff5e5c95c3e533840921a67dc3
Hyunyoung Song [Wed, 31 Aug 2016 18:30:00 +0000 (18:30 +0000)]
Merge "ComponentName null check MUST proceed before creating ComponentKey." into ub-launcher3-calgary-polish
Tony Wickham [Tue, 30 Aug 2016 22:48:43 +0000 (15:48 -0700)]
When shortcuts close, only set text visible if not in hotseat.
Bug:
31195155
Change-Id: I3ee6f45f1dd421fcad6ed22b444efd2922b0a32b
(cherry picked from commit
e53abfa993f94dea119d99221ea5bbdba87303cb)
Sunny Goyal [Tue, 30 Aug 2016 19:05:48 +0000 (12:05 -0700)]
Preventing unnecessary setLayout calls in workspace
Separating getSystemProperty in a separate method
Change-Id: I88716e796e29ac27ef25afa41077a8f29eb65f25
Sunny Goyal [Tue, 30 Aug 2016 18:47:48 +0000 (18:47 +0000)]
Merge "Bug fix in Alarm where it was not getting called correctly if the new timeout was set that was smaller than the previously set timeout" into ub-launcher3-calgary-polish
Sunny Goyal [Sat, 27 Aug 2016 22:33:16 +0000 (15:33 -0700)]
Bug fix in Alarm where it was not getting called correctly if the
new timeout was set that was smaller than the previously set timeout
> Using uptimeMillis in Alarm to avoid errors due to system time
changes
> Adding an extra check in Wait in case Thread.sleep eats up
all the timeout
Change-Id: Id1fac5e8fdb81a0c3c7a6a5e50586b2a2f180d06
Tony Wickham [Tue, 30 Aug 2016 00:20:57 +0000 (00:20 +0000)]
Use promisedIntent instead of intent when deep shortcuts are restored.
am:
def6e474da
Change-Id: I634bb0b13cb2449da159b4c8d23b4ddcf32f09ac
Tony Wickham [Mon, 29 Aug 2016 22:17:48 +0000 (15:17 -0700)]
Use promisedIntent instead of intent when deep shortcuts are restored.
This ensures that the intent has the package corresponding to the
shortcut publisher, rather than a market intent. It also ensures that
the intent has the EXTRA_SHORTCUT_ID attached.
Bug:
31123204
Change-Id: I05d56396b629880322e915f52bfc0605b921b0b1
(cherry picked from commit
fc02c1b446ee54561ac7351fb6ff0f8294785f0e)
Tony Wickham [Mon, 29 Aug 2016 23:38:03 +0000 (23:38 +0000)]
Merge "Use promisedIntent instead of intent when deep shortcuts are restored." into ub-launcher3-calgary-polish