OSDN Git Service
Sunny Goyal [Thu, 14 Apr 2016 18:25:56 +0000 (11:25 -0700)]
Removing first launcher broadcast
Change-Id: I225205a219cf2e0f27bb3c78cbdad1a3429d466f
Hyunyoung Song [Wed, 13 Apr 2016 01:32:04 +0000 (18:32 -0700)]
Refactor UserEventLogging, Add predictedRank, replace Bundle with Proto
b/
26494415
- Removed bundle object that became redundant now that we have LauncherEvent proto
- Combined Stats and UserEventLogger as they are effectively doing same thing
- Removed parent field inside Target
- added predictedRank target inside Target
b/
27967359
- make com.android.launcher3.action.LAUNCH broadcast explicit
Later CL: finish packageName/intent/componentHash/predictedRank fields
Change-Id: I441fb46c834f73e58a4d2324e8da7971e8713ec8
Sunny Goyal [Wed, 13 Apr 2016 00:57:41 +0000 (17:57 -0700)]
Removing WallpaperPicker from Launcher3
Launcher3 will no longer include a wallpaper picker.
Eventually it will just point to the system wallpaper settings where
user can choose from all the installed pickers
Change-Id: Ib5832fa7e451610acd4b2d34ee48fe36e3699d26
Adam Cohen [Tue, 12 Apr 2016 23:55:04 +0000 (23:55 +0000)]
[DO NOT MERGE] Address some spacing issues in all apps related to new support library
am:
d797327 -s ours
* commit '
d797327b79c5ded53f698201af5abb7d779ddfa9':
[DO NOT MERGE] Address some spacing issues in all apps related to new support library
Change-Id: I56782e75b708ee451be2dbe3ece34d30c700c4e0
Sunny Goyal [Tue, 12 Apr 2016 23:09:52 +0000 (16:09 -0700)]
Giving proper workspace description when the launcher is not loaded.
Bug:
27326504
Change-Id: Ifc30221f756d75064a4baf5f3bfc71b8f590b4b1
Adam Cohen [Tue, 12 Apr 2016 21:17:58 +0000 (14:17 -0700)]
[DO NOT MERGE] Address some spacing issues in all apps related to new support library
issue
27581978
Change-Id: If7a1ea19aa586bb3de6bde960b16e59f86061227
Sunny Goyal [Mon, 11 Apr 2016 20:39:16 +0000 (20:39 +0000)]
[DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
am:
d435cc0 -s ours
* commit '
d435cc070ad72d2e94546d274e29159ee4c21a9a':
[DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
Change-Id: Ib43865dd5d25c8fbea6b33a309e06eb2c1dcaa2d
Sunny Goyal [Mon, 11 Apr 2016 20:01:32 +0000 (13:01 -0700)]
[DO NOT MERGE] Changing WallpaperChangeReceiver to a runtime registered broadcast receiver
Bug:
28115607
Change-Id: I208d629a346781d9b1fbeb0a245685bf36f85aeb
Sunny Goyal [Sat, 9 Apr 2016 00:12:20 +0000 (00:12 +0000)]
Merge "Fixing gradle version comflicts" into ub-launcher3-calgary
Sunny Goyal [Sat, 9 Apr 2016 00:11:13 +0000 (17:11 -0700)]
Fixing gradle version comflicts
Change-Id: I6e3b99e2ad67a192e29f9939fc188db81f31d219
Adam Cohen [Sat, 9 Apr 2016 00:03:33 +0000 (00:03 +0000)]
Merge "Remove special code path for not animating folder open in power save mode" into ub-launcher3-calgary
Hyunyoung Song [Fri, 8 Apr 2016 23:47:41 +0000 (23:47 +0000)]
Fixing a typo from <array> to <string-array>
am:
63d093d -s ours
* commit '
63d093de024a5e1bd26b71bd823df0017d1ec945':
Fixing a typo from <array> to <string-array>
Change-Id: I0882a178aea95d46e47d73c622c89f8c7015ea94
Adam Cohen [Thu, 7 Apr 2016 01:36:06 +0000 (18:36 -0700)]
Remove special code path for not animating folder open in power save mode
-> framework takes care of this
-> stripped unused code
Change-Id: If1941447df5c3145db715971440b80bd754f0bb1
Hyunyoung Song [Fri, 8 Apr 2016 23:24:27 +0000 (23:24 +0000)]
Make com.android.launcher3.action.LAUNCH intent explicit b/
27967359
am:
f9dc857 -s ours
* commit '
f9dc857a0e49750fefd88d4201ee74e1b3cfee3d':
Make com.android.launcher3.action.LAUNCH intent explicit b/
27967359
Change-Id: I57fed37996ca1bd5b1d096f55b891aba062575bb
Sunny Goyal [Fri, 8 Apr 2016 21:45:19 +0000 (21:45 +0000)]
Merge "Calling start/stop listening in onStart/onStop" into ub-launcher3-calgary
Hyunyoung Song [Fri, 8 Apr 2016 19:17:25 +0000 (12:17 -0700)]
Fixing a typo from <array> to <string-array>
Change-Id: Iadbbe59e0ba93a21373056fe6b4af9db7ce39f66
Sunny Goyal [Fri, 8 Apr 2016 17:58:30 +0000 (17:58 +0000)]
Merge "Removing dependency on getApplicationInfo method added in N" into ub-launcher3-calgary
Hyunyoung Song [Fri, 8 Apr 2016 17:55:50 +0000 (10:55 -0700)]
Make com.android.launcher3.action.LAUNCH intent explicit
b/
27967359
Change-Id: I355ffc0af07d5bddcf87d41cf42bead9d5c824dc
Sunny Goyal [Thu, 7 Apr 2016 23:47:52 +0000 (23:47 +0000)]
Merge "Changing the scale factor for square icons" into ub-launcher3-calgary
Sunny Goyal [Thu, 7 Apr 2016 23:28:34 +0000 (23:28 +0000)]
Merge "Revert "Updating current page when changing the frescroll mode"" into ub-launcher3-calgary
Sunny Goyal [Mon, 28 Mar 2016 21:23:34 +0000 (14:23 -0700)]
Changing the scale factor for square icons
Bug:
18245189
Change-Id: Iab0074c76083480a2a7316f5563fc48154de6355
Sunny Goyal [Thu, 7 Apr 2016 20:06:54 +0000 (20:06 +0000)]
Revert "Updating current page when changing the frescroll mode"
This reverts commit
debf81470dcb42b971d52d582d23a0d1da63d4a8.
Change-Id: Ib5b60c21be2d112c6c6e453168cb5bf01a7bd971
Sunny Goyal [Tue, 5 Apr 2016 23:38:39 +0000 (16:38 -0700)]
Fixing wrong grid size definitions
Bug:
27958565
Change-Id: Icabc651552bbf6483fedbaeb52745c48d418f9ea
Sunny Goyal [Thu, 7 Apr 2016 19:14:37 +0000 (12:14 -0700)]
Calling start/stop listening in onStart/onStop
AppWidgetHost in N was changed to make start/stop lisenting calls
light weight, which allows launcher to avoid getting unnecessary
updates when its not visible
Bug:
23892701
Change-Id: I0ca6e02400992bc4e0359e45a3d66b9252751402
Sunny Goyal [Wed, 6 Apr 2016 23:18:20 +0000 (16:18 -0700)]
Removing dependency on getApplicationInfo method added in N
This method is goiing away. We don't need this method anyway
since LauncherActivityInfo already has the information
Change-Id: Ic6afa1df14958b894925d730e01a2e2d2a6fb98c
Sunny Goyal [Thu, 7 Apr 2016 02:09:38 +0000 (02:09 +0000)]
Merge "Updating current page when changing the frescroll mode" into ub-launcher3-calgary
Sunny Goyal [Thu, 7 Apr 2016 01:42:31 +0000 (18:42 -0700)]
Updating current page when changing the frescroll mode
Bug:
28054048
Change-Id: I081db915445b60f96607d4a0c30ffc8ab476fe24
Tony Wickham [Thu, 7 Apr 2016 01:24:14 +0000 (01:24 +0000)]
Merge "Stop animating highlighted page border in spring-loaded mode." into ub-launcher3-calgary
Tony Wickham [Wed, 6 Apr 2016 21:28:46 +0000 (21:28 +0000)]
Merge "Add velocity threshold so that fast pinches (flings) are detected." into ub-launcher3-calgary
Tony Wickham [Wed, 6 Apr 2016 01:31:43 +0000 (18:31 -0700)]
Add velocity threshold so that fast pinches (flings) are detected.
Bug:
27676309
Change-Id: Id3ba05c67abac8847fcff22532ea9da9ef10a5ae
Sunny Goyal [Tue, 5 Apr 2016 22:59:05 +0000 (15:59 -0700)]
Fixing folder icon not getting redrawn when the contents change
> Removing parent from ItemOperator as inconsistant values were
being passed in workspace and folderPagedView
> Fixing itemChanged causing multiple redraws, by passing a
'animate' parameter to explicitely request animation
Bug:
27740161
Bug:
28015426
Change-Id: Ide7b266bde9aad5f450a3f808a59182fe01a5110
Tony Wickham [Wed, 6 Apr 2016 19:36:01 +0000 (19:36 +0000)]
Merge "Disable pinch gesture when accessibility is enabled." into ub-launcher3-calgary
Sunny Goyal [Wed, 6 Apr 2016 19:31:40 +0000 (19:31 +0000)]
Merge "Deleting resources added due to merge conflicts" into ub-launcher3-calgary
Sunny Goyal [Wed, 6 Apr 2016 19:29:33 +0000 (12:29 -0700)]
Deleting resources added due to merge conflicts
Change-Id: I26e46e0470c6b2a33a633b69a5f636b30a61dbc7
Tony Wickham [Tue, 22 Mar 2016 23:34:23 +0000 (16:34 -0700)]
Disable pinch gesture when accessibility is enabled.
Bug:
27676309
Change-Id: Iba0f04693c494f258ef21d740ee933f9c32a7674
Sunny Goyal [Wed, 6 Apr 2016 01:02:13 +0000 (18:02 -0700)]
Removing some wallpaper dependency
Change-Id: I3f88a76df40c64678e297f217d703ca296f2d5cd
Sunny Goyal [Wed, 6 Apr 2016 00:49:21 +0000 (00:49 +0000)]
Merge "Fixing bug where folders on the first screen and hotseat are not registered by the Launcher if there are folders on other screens" into ub-launcher3-calgary
Rubin Xu [Tue, 5 Apr 2016 16:28:16 +0000 (16:28 +0000)]
Merge "Listen on new broadcasts for profile changes." into ub-launcher3-calgary
Sunny Goyal [Tue, 5 Apr 2016 00:51:04 +0000 (17:51 -0700)]
Fixing wrong method name
Change-Id: Idabe5d8ee41f31d30dcbe03aa626f7b39f713c14
Sunny Goyal [Mon, 4 Apr 2016 23:51:34 +0000 (23:51 +0000)]
Merge "Adding an upper bound to all-apps width on larger devices" into ub-launcher3-calgary
Hyunyoung Song [Mon, 4 Apr 2016 23:38:07 +0000 (23:38 +0000)]
[DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used.
am:
04907ee -s ours
* commit '
04907eea71327a5e828421eaf7e43d689e974049':
[DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method mFixedSearchBarBounds is no longer used.
Change-Id: I1c0a30179255d21c5e0dcfc7fe83afb8ff6ef1c4
Sunny Goyal [Mon, 4 Apr 2016 23:35:22 +0000 (16:35 -0700)]
Adding an upper bound to all-apps width on larger devices
Change-Id: I16a0d8fb7c5023045d0a6b9e8089e0ab6a476d6d
Hyunyoung Song [Mon, 4 Apr 2016 20:47:01 +0000 (13:47 -0700)]
[DO NOT MERGE] updateOverlayBounds no longer rely on LauncherCallback method
mFixedSearchBarBounds is no longer used.
b/
25255451
Change-Id: I3e2f7511c7a418f211a8b17a62b98f2736dfc91d
Tony Wickham [Mon, 4 Apr 2016 22:05:49 +0000 (15:05 -0700)]
Stop animating highlighted page border in spring-loaded mode.
It looked weird, because the scrim cutout happens immediately
and the border flickered into place shortly after.
Bug:
27135377
Change-Id: Iff861db73c438c7dabccd6ed7c4ee38dbeb77ea1
Rubin Xu [Mon, 4 Apr 2016 15:13:35 +0000 (16:13 +0100)]
Listen on new broadcasts for profile changes.
The change is due to API review comments on the platform side.
Bug:
27532254
Change-Id: I44133fbb5c3ee13d0523a72b25d2e1c5d1eba6a0
Sunny Goyal [Sat, 2 Apr 2016 17:56:02 +0000 (10:56 -0700)]
Fixing bug where folders on the first screen and hotseat are not
registered by the Launcher if there are folders on other screens
Instead of maintaing a static map of folder items, searching it
in the workspace during item removal.
Change-Id: I8aa93b3aa1d0bd812204471e3103f4bd29d1cd3d
Sunny Goyal [Sat, 2 Apr 2016 17:28:22 +0000 (10:28 -0700)]
Fixing white background under hotseat
Change-Id: I8b39bc9104dc16981e5642124cfd819da7a2f172
Tony Wickham [Fri, 1 Apr 2016 23:05:15 +0000 (16:05 -0700)]
Add palette dependency to Android.mk.
Change-Id: I34fcfa87a35df8ec1029669d6b570c1a95029b66
Sunny Goyal [Fri, 1 Apr 2016 22:51:54 +0000 (22:51 +0000)]
Merge "No need to differentiate package event into app or updated based on a package is being updated or not" into ub-launcher3-calgary
Tony Wickham [Fri, 1 Apr 2016 22:44:58 +0000 (22:44 +0000)]
Merge "Added ColorExtractionService and ExtractedColors." into ub-launcher3-calgary
Sunny Goyal [Fri, 1 Apr 2016 22:43:28 +0000 (22:43 +0000)]
Merge "Fixing the loader to bind the first screen as well as the hotseat together" into ub-launcher3-calgary
Tony Wickham [Thu, 17 Mar 2016 22:39:39 +0000 (15:39 -0700)]
Added ColorExtractionService and ExtractedColors.
- Launcher has an instance of ExtractedColors, which is loaded from
LauncherProvider in onCreate() and whenever the wallpaper changes.
- When the wallpaper changes, the ColorExtractionService is started
in the :wallpaper-chooser process.
- ColorExtractionService builds an ExtractedColors instance and saves
it as a String in LauncherProvider.
- When the results are saved, Launcher gets a callback through
LauncherProviderChangeListener and reloads the ExtractedColors.
- Whenever Launcher loads Extractecolors, it also re-colors items
(currently a no-op).
Change-Id: I319e2cfe0a86abcbc6bb39ef6b9fbbcad54ad743
Adam Cohen [Fri, 1 Apr 2016 21:51:16 +0000 (21:51 +0000)]
Merge "Fix a couple polish bugs with new folder previews" into ub-launcher3-calgary
Adam Cohen [Thu, 31 Mar 2016 02:28:34 +0000 (19:28 -0700)]
Fix a couple polish bugs with new folder previews
-> Don't reuse the same background object for the folder create preview
since this can cause interruptions in the animations for previous
creation previews.
-> When drawing the background to preview creation, don't draw the stroke
above the icon since the icon is not yet contained by the folder.
Change-Id: Ib666dc2453df465b342c02f3bd109b553a769dcc
Tony Wickham [Thu, 31 Mar 2016 22:09:15 +0000 (15:09 -0700)]
Fix spring-loaded highlight on JB.
It was setting the panel to black when highlighting a CellLayout,
instead of just adding a white border.
Bug:
27135377
Change-Id: I879b12613b0cbfdda2a980065c66ea3ceb960f33
Sunny Goyal [Thu, 31 Mar 2016 00:31:24 +0000 (17:31 -0700)]
Fixing the loader to bind the first screen as well as the hotseat together
When the loader ran for the first time (or when called due to force-reload),
it was binding with page = -1 (invalid pageId is -1001). This was causing loader
to assume the workspace to be on a valid screen, and causing the loader to
only bind the hotseat first.
Bug:
27705838
Change-Id: Ia8eb2543d8cee1268256b2d6bccf33828937c54a
Sunny Goyal [Wed, 30 Mar 2016 23:47:03 +0000 (16:47 -0700)]
No need to differentiate package event into app or updated based on
a package is being updated or not
Package update handling is a super set of package add handling which
also updates the all-apps and package disabled state.
This also prevents addtion of a home screen icon when a managed profile
app on SD card become available.
Bug:
27877926
Change-Id: I9264e422fd30b94ce6ebb2e5adea820b3cda3063
Sunny Goyal [Wed, 30 Mar 2016 16:19:45 +0000 (09:19 -0700)]
Fixing black search bar background in search bar
Bug:
27919354
Change-Id: I3f43d8f39640c2db4b192ea316aebf11189982e3
Adam Cohen [Tue, 29 Mar 2016 22:05:48 +0000 (15:05 -0700)]
Yet another RecyclerView child that needs match_parent
issue
27705077
Change-Id: I16bdefe37351c26897a57d314a58718cb837543d
Tony Wickham [Mon, 28 Mar 2016 23:56:30 +0000 (16:56 -0700)]
Add distance threshold for dragged items before accepted by targets.
With the new spring-loaded workspace, items are often very close to
button drop targets (e.g. App Info) at the start of a drag. This
threshold makes it less likely to accidentally drop on a target.
Bug:
24099531
Change-Id: I4912ceeb0b63958816177c7bde073e825176d987
Tony Wickham [Tue, 29 Mar 2016 00:02:45 +0000 (00:02 +0000)]
Merge "Invalidate scrim throughout animation from overlay to workspace." into ub-launcher3-calgary
Adam Cohen [Mon, 28 Mar 2016 23:43:12 +0000 (16:43 -0700)]
Remove default app suggestions from LauncherExtension
Change-Id: I7c3a1465aaa54ad3b988975810f29ce89e650ec1
Tony Wickham [Mon, 28 Mar 2016 23:43:20 +0000 (16:43 -0700)]
Invalidate scrim throughout animation from overlay to workspace.
Bug:
27135377
Change-Id: I19e947ac271063beaa6c5d11906631d0afcbb781
Adam Cohen [Mon, 28 Mar 2016 22:48:21 +0000 (15:48 -0700)]
Fix alignment issue with suggested apps in all apps
-> New RecyclerView handles wrap_content differently
-> Add mock set of suggested apps to the LauncherExtension
issue:
27581978
Change-Id: Id080e212e0425515fa66e821d116b95284bb3526
Sunny Goyal [Mon, 28 Mar 2016 22:50:05 +0000 (22:50 +0000)]
Merge "Fix restoring of layer type" into ub-launcher3-calgary
Dmitry Kalita [Tue, 26 Jan 2016 17:30:34 +0000 (19:30 +0200)]
Fix restoring of layer type
Change-Id: I1233b846247b270644325c0ad0229a23bfb29040
Signed-off-by: Dmitry Kalita <rusmonster@gmail.com>
Annie Chin [Mon, 28 Mar 2016 21:26:45 +0000 (21:26 +0000)]
Merge "Introduce IconProvider." into ub-launcher3-calgary
Annie Chin [Fri, 25 Mar 2016 00:12:30 +0000 (17:12 -0700)]
Introduce IconProvider.
Bug:
27506625
-Move managing of SystemState to IconProvider
Change-Id: I3417f0b7d0664c2255c7cc2a88f6c65822b5fb98
Sunny Goyal [Mon, 28 Mar 2016 19:30:34 +0000 (19:30 +0000)]
Merge "Defining separate layouts for horizontal and vertical drop target bars instead of chaning the layouts in DeviceProfile" into ub-launcher3-calgary
Tony Wickham [Fri, 25 Mar 2016 15:46:20 +0000 (15:46 +0000)]
Merge "Added copywrite comments to pinch-related classes." into ub-launcher3-calgary
Sunny Goyal [Fri, 25 Mar 2016 00:28:25 +0000 (17:28 -0700)]
Defining separate layouts for horizontal and vertical drop target bars
instead of chaning the layouts in DeviceProfile
Bug:
27721989
Change-Id: I9a22c21e643f4fd0058c9be5e9d705aaf7649204
Sunny Goyal [Thu, 24 Mar 2016 22:27:42 +0000 (15:27 -0700)]
Preventing unnecessary object creations
> Only creating the animator when required
> Canceling a previously running animation when starting a new one
> Directly setting LinearInterpolator instead of using null
Change-Id: I4f5f25f26dfed9b5c78665af4e74dd565b4cd805
Sunny Goyal [Thu, 24 Mar 2016 20:53:22 +0000 (13:53 -0700)]
Fixing debug log
Change-Id: I85c1f7707a3ea9cae2701aa781b74d758602f643
Sunny Goyal [Thu, 24 Mar 2016 20:40:21 +0000 (20:40 +0000)]
Merge "Embedding the icon pixel size in the cache DB version. This causes the cache to get reset when the icon size changes, for eg, in case of display scale changes" into ub-launcher3-calgary
Sunny Goyal [Thu, 24 Mar 2016 19:20:14 +0000 (19:20 +0000)]
Merge "Instead of reloading the launcher, updating items dynamically when Quiet mode changes" into ub-launcher3-calgary
Sunny Goyal [Sat, 19 Mar 2016 01:29:24 +0000 (18:29 -0700)]
Instead of reloading the launcher, updating items dynamically when
Quiet mode changes
Bug:
27632028,
27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
Sunny Goyal [Wed, 23 Mar 2016 23:56:54 +0000 (16:56 -0700)]
Setting stable layout flags on the launcher, so that the instets do not
change for launcher when going in/out of another app
Bug:
27600678
Change-Id: Ic873faba99c539025769d911bc7b0a4fed629cd7
Sunny Goyal [Wed, 23 Mar 2016 23:17:22 +0000 (23:17 +0000)]
Merge "Fixing wrong preference file name in LauncherFiles" into ub-launcher3-calgary
Sunny Goyal [Wed, 23 Mar 2016 17:47:15 +0000 (10:47 -0700)]
Fixing wrong preference file name in LauncherFiles
Bug:
27778623
Change-Id: I28aa6698d3caa1fc11b2e8df0733143865f9b408
Tony Wickham [Tue, 22 Mar 2016 23:20:53 +0000 (16:20 -0700)]
Add FeatureFlags.LAUNCHER3_DISABLE_PINCH_TO_OVERVIEW
Bug:
27796974
Change-Id: Icda33fb62783cc3f7b510d627d1eeb9cf29bd2d3
Sunny Goyal [Tue, 22 Mar 2016 21:32:44 +0000 (14:32 -0700)]
Embedding the icon pixel size in the cache DB version.
This causes the cache to get reset when the icon size changes,
for eg, in case of display scale changes
Bug:
27701193
Change-Id: Ib11144757a93cb50fb233d855902c0b2c15afbed
Sunny Goyal [Fri, 11 Mar 2016 09:10:19 +0000 (01:10 -0800)]
Adding support for result callback when starting uninstall-application activity
Change-Id: Ieaca4fbd0ae0156f24c8863ccbef61d4d6d30ba1
Adam Cohen [Mon, 21 Mar 2016 21:33:02 +0000 (14:33 -0700)]
Account for disparity btw folder preview size and drawable size
-> When there is disparity between the cached icon size and the available space
in the preview, the folder preview could appear not as intended (either
overly crammed, or overly spacious)
issue
27701193
Change-Id: I9f97012ba569d1419b1e3f661cd26761b2a36285
Adam Cohen [Mon, 21 Mar 2016 20:40:02 +0000 (13:40 -0700)]
Invalidate folder drawing paramaters when top padding changes
-> This fixes issues when moving folders between the workspace
and hotseat (which have different top paddings)
Change-Id: Iac5a4575a403ce8eadd1d3195f02ab10fe5dac23
Sunny Goyal [Mon, 21 Mar 2016 20:02:29 +0000 (13:02 -0700)]
Removing some unused imports
Change-Id: I83962e467e3357db536a3e5a4a5c3071cc1268ab
Tony Wickham [Mon, 21 Mar 2016 18:57:45 +0000 (18:57 +0000)]
Merge "Center folders slightly less aggressively than before" into ub-launcher3-calgary
Sunny Goyal [Mon, 21 Mar 2016 18:32:41 +0000 (18:32 +0000)]
Merge "Removing dependency on wallpaper size settings from launcher" into ub-launcher3-calgary
Sunny Goyal [Sat, 19 Mar 2016 15:50:18 +0000 (15:50 +0000)]
Merge "Deleting the unrestored widget id synchronously" into ub-launcher3-calgary
Sunny Goyal [Sat, 19 Mar 2016 00:52:41 +0000 (00:52 +0000)]
Merge "Fixing broken instrumentation tests when run from command line" into ub-launcher3-calgary
Sunny Goyal [Sat, 19 Mar 2016 00:42:55 +0000 (17:42 -0700)]
Fixing broken instrumentation tests when run from command line
Change-Id: I923cdbaaaf18c9b765d1e70122b92cd2c1621e06
Adam Cohen [Sat, 19 Mar 2016 00:25:11 +0000 (17:25 -0700)]
Center folders slightly less aggressively than before
-> Some slight changes in spacing showed that we were centering
folders a bit too eagerly
-> Once there is less than a ~4x delta between the spacing on the left
vs. the right of the folder, center it.
issue
27671587
Change-Id: Ic2861ab375d9b9e4cf0eeb28b683073246f35c97
Sunny Goyal [Fri, 18 Mar 2016 23:25:05 +0000 (16:25 -0700)]
Deleting the unrestored widget id synchronously
> We are making the DB call (IO) on the UI thread which is costlier than
the AppWidgetHost call.
> The process can get killed after the broadcast receiver returns, which
can prevent these ids from getting deleted.
Change-Id: I47746cf03d0eae573b6baa25cde9e573fd1f1a60
Sunny Goyal [Tue, 15 Mar 2016 16:16:30 +0000 (09:16 -0700)]
Fixing model being updated on UI thread
> When package gets unavailable or suspended, the disabled flag was getting
updated on the UI thread. This could lead to inconsistent model if launcher
activity didn't exist.
> Fixing: When unsuspending one work profile apps, all work profile apps get
unsuspended
Bug:
27673573,
27673373,
27403236
Change-Id: I7fde3f79c36204e73ca66ccf8431fa0f0cce3d08
Sunny Goyal [Fri, 18 Mar 2016 20:19:34 +0000 (20:19 +0000)]
Merge "Removing dependency on LauncherCallbacks for getting the search bounds" into ub-launcher3-calgary
Sunny Goyal [Thu, 10 Mar 2016 20:02:29 +0000 (12:02 -0800)]
Creating WidgetCellItem to wrap LauncherAppWidgetProviderInfo and resolveInfo
In PackageItemInfo,, using the user of the first item in the sub-list
Bug:
27585511
Change-Id: I8243f0e5c831af65661ae815489e53e9fcade837
Sunny Goyal [Fri, 18 Mar 2016 00:04:15 +0000 (17:04 -0700)]
Removing dependency on wallpaper size settings from launcher
> Moving wallpaper desired width calculation to xml
Bug:
14470153
Change-Id: I8803af158861507a40e5d55e9aa6d515be47eefa
Tony Wickham [Thu, 17 Mar 2016 18:53:26 +0000 (11:53 -0700)]
Added copywrite comments to pinch-related classes.
Maybe we should write a script that checks that this is present in
all our files? I didn't do a thorough check, but wouldn't be surprised
if others were missing.
Change-Id: I4777ff618f952b9b11fde60ebc8d897cf6449032
Sunny Goyal [Thu, 17 Mar 2016 18:57:24 +0000 (11:57 -0700)]
Removing dependency on LauncherCallbacks for getting the search bounds
> Instead of handling insets in BaseContainerView, directly applying
them to margins, as that scpace can't be used for scroll handling
> Appliying the top and bottom padding in xml
> The left & right padding is defied in xml which is reused for scroll
handling
Bug:
27108154
Change-Id: Ia32e6d5e8fd1bfafb1d77d1244ce2268e4da9df9
Sunny Goyal [Thu, 17 Mar 2016 18:40:33 +0000 (18:40 +0000)]
Merge "Creating database without localized collators on NYC and above" into ub-launcher3-calgary
Sunny Goyal [Tue, 15 Mar 2016 22:30:11 +0000 (15:30 -0700)]
Creating database without localized collators on NYC and above
Android automatically creates and maintains a metaData table to
store the current device locale. This is used when fetching
sorted results. Since Laucher does not require string based
sorting on its tables, we can avoid unnecessary IO by disabling
this feature
Bug:
24608776
Change-Id: I8bbf5ca3abd505be95a85cfc99dd0438966575e9