Sunny Goyal
da891c1a22
Instead of reloading the launcher, updating items dynamically when
...
Quiet mode changes
Bug: 27632028,27763316
Change-Id: I55f018e855448df0abcbf4fd0fcb39344594980c
2016-03-24 12:19:29 -07:00
Sunny Goyal
3bbbabc54a
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
2016-03-18 15:13:28 -07:00
Sunny Goyal
2e1efb480a
Changing the widget loading strategy
...
Widget is loaded only when the user enters the overview mode and we keep
the list updated as long as the user is in the overview mode. Once the user
leaves the overview mode, we stop responding to widget updates
Bug: 26077457
Change-Id: I9e4904b8f1300bfe0d77e2bc5f59aa6963fad8d1
2016-03-09 20:21:22 -08:00
Sunny Goyal
261194387b
Revert "Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage"
...
This reverts commit fc956e5a2a .
Change-Id: Ib3b5156b8fc3cad35c4634d61d5390c848ce1f93
2016-02-23 02:02:54 +00:00
Sunny Goyal
fc956e5a2a
Reverting refactoring of Folder and FolderIcon to avoid dependencies breakage
...
Change-Id: Ifd0d717d70aff4c83c9eb5cba397d04500b2c869
2016-02-17 13:27:13 -08:00
Adam Cohen
f9c184a619
Refactor FolderIcon to separate the preview effect into it's own class
...
-> Created com.android.launcher3.folder package to house most folder-related files
(aside from the FolderInfo) which is more related to the model than the UI.
Change-Id: I767063e1e4c775c01a799a3bede30cd94ac48ade
2016-02-12 17:28:31 -08:00
Hyunyoung Song
747a5bc486
WidgetsModel clone method should be called in worker thread
...
b/24582368
Change-Id: I7b1d2ccfa7d7ac8235e4aeccc2b6b1a8eeea6461
2016-02-08 18:14:17 -08:00
Kenny Guy
ff05f4375d
Respond to managed profile availabilty Intents.
...
Grey out applications when managed profile is
not available.
Change-Id: I9bb9442cd0b3d0d207062716bfd6b179e3ba8489
2016-01-25 21:23:59 +00:00
Kenny Guy
44cba69638
Grey out suspended applications.
...
Grey out application shortcuts and all apps entries
for packages that are suspended.
Bug: 22776761
Change-Id: I1b63da1816aca1de52b9f9bee62d1b162d0cdf4d
2016-01-25 11:28:06 +00:00
Sunny Goyal
f076eae0ca
Adding support for migrating the grid between any two valid screens sizes.
...
The grid is migrated in steps where each step consists of at max one column change and at max one row change.
Adding some unit tests for GridMigrationLogic
Bug: 25958224
Change-Id: Ie54e872ea0925cc4c463edbba0a7201d62b373a0
2016-01-20 11:58:09 -08:00
Sunny Goyal
f862a26347
Extending the grid migration logic to handle density changes
...
For hotseat migratino, we simply drop the items with least weight
If the workspace row/column decreases by 2 or more, we clear the whole workspace
Bug: 25958224
Change-Id: I7131b955023d185ed10955f593184b9238546dc8
2016-01-06 10:16:44 -08:00
Sunny Goyal
13f682f74e
Fixing some invalid checks and cleaning some redundant conditions
...
am: b740f59c7d
* commit 'b740f59c7d572d54402e3a74fb2a23c0f1b1af48':
Fixing some invalid checks and cleaning some redundant conditions
2015-12-18 11:20:41 -08:00
Sunny Goyal
b740f59c7d
Fixing some invalid checks and cleaning some redundant conditions
...
Change-Id: I770ce2cc2eccbee105958634e81bbc9bc2e4cc48
2015-12-18 11:00:14 -08:00
Sunny Goyal
c3642d4509
Build fix
...
Change-Id: I0bf4241aa48f25f2b5774726d1d75dfb5a20a2e5
2015-10-30 10:27:08 -07:00
Sunny Goyal
4f63c76bfe
Merge "Refactoring WallpaperOffsetInterpolator to a new file Removing some us unused methods" into ub-launcher3-master
2015-10-30 00:33:46 +00:00
Sunny Goyal
d249748abf
Making all provider calls using content resolver.
...
This will allow us to easily move db creation out of onCreate
Change-Id: Idd949624b0a9c95e4451e48db7764b7b7922c40a
2015-10-20 11:04:44 -07:00
Sunny Goyal
9eba1fd75e
Refactoring WallpaperOffsetInterpolator to a new file
...
Removing some us unused methods
Change-Id: Ife790e5ca6848fa13dc3fab1bba1e6220bf83743
2015-10-16 09:02:25 -07:00
Winson
722e85678a
resolved conflicts for 1845049c to ub-launcher3-master
...
Change-Id: I25a01a0735be754f4c8daef5a4a04eaec651b95c
2015-10-07 13:04:30 -07:00
Sunny Goyal
a13654529c
Adding some information in bug reports
...
> Dumping workspace items
> Dumping loader logs for crashes and data deletion
> Removing unnecessary log dumps
Change-Id: Ia320988c2e3665e4d605d6e88bca77738e749273
2015-10-01 15:48:35 -07:00
Winson
12fb9fc3c3
Replace Long.compare() with implementation.
...
- Long.compare() was added in API level 19.
Change-Id: Ic7020c941403c10daa6feacdc737c6a82676ada0
2015-10-01 15:34:08 -07:00
Winson
e993c4b275
resolved conflicts for 850de64c to ub-launcher3-master
...
Change-Id: Ica4893082f03afe76abd42dca44016eb9e436c35
2015-09-29 17:39:37 -07:00
Winson
46a06da01c
Fixing other missing cases of truncated sorts.
...
Bug: 24505761
Change-Id: I9b9358e8b134f0c4aac32ac536d9c8a1f0629957
2015-09-29 16:58:02 -07:00
Winson
8660cf5d1b
am 17e2d495: Use Long.compare() instead of truncating values for comparison.
...
* commit '17e2d49547eb8d068b1ba816c6226cf5ef77369d':
Use Long.compare() instead of truncating values for comparison.
2015-09-25 23:23:56 +00:00
Winson
17e2d49547
Use Long.compare() instead of truncating values for comparison.
...
Bug: 24116808
2015-09-25 23:20:13 +00:00
Sunny Goyal
46a07220ad
Merge "Build fix" into ub-launcher3-master
2015-09-18 17:18:46 +00:00
Sunny Goyal
877f92893a
Build fix
...
Change-Id: Ic9c8872dbabbd52b902a5890e7213b7e450bbcfb
2015-09-18 10:18:25 -07:00
Sunny Goyal
b3cf2d789e
Merge "Refactoring deferred bind logic" into ub-launcher3-master
2015-09-18 17:18:10 +00:00
Sunny Goyal
9b75b5f8dc
am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts
...
* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
Catching RemoteExceptions when calling packagemanager to get list of shortcuts
2015-09-18 17:05:41 +00:00
Sunny Goyal
8c2fdd4c44
am 31860581: Catching RemoteExceptions when calling packagemanager to get list of shortcuts
...
* commit '31860581536b3fee0221456a2dcc5d6d6f2b7e15':
Catching RemoteExceptions when calling packagemanager to get list of shortcuts
2015-09-18 17:05:39 +00:00
Sunny Goyal
3186058153
Catching RemoteExceptions when calling packagemanager to get list of shortcuts
...
Bug: 23796963
Change-Id: I5486c2916e981e7135edd5df360536a362bc2795
2015-09-18 09:15:22 -07:00
Sunny Goyal
1daf7f792a
Merge "Build fix" into ub-launcher3-master
2015-09-17 22:07:19 +00:00
Sunny Goyal
05247be8aa
am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
...
* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
Null check when getting list of widget receivers
2015-09-17 22:03:56 +00:00
Sunny Goyal
a0a311ec21
am 0f196e69: Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
...
* commit '0f196e6939ee9f23ea24d046e74fd1d1d3fc953f':
Null check when getting list of widget receivers
2015-09-17 22:03:09 +00:00
Sunny Goyal
3a6205f820
Build fix
...
Change-Id: I42941ccd7a104a85b0314806b6d34e734f47aa5d
2015-09-17 15:01:11 -07:00
Sunny Goyal
0f196e6939
Merge "Null check when getting list of widget receivers" into ub-launcher3-burnaby
2015-09-17 21:52:13 +00:00
Sunny Goyal
ace3aa210b
am 79afe010: Throwing system api call exceptions in case of dogfood builds
...
* commit '79afe010d55af6b1753430a334bf6e24448e9375':
Throwing system api call exceptions in case of dogfood builds
2015-09-17 21:38:27 +00:00
Sunny Goyal
a3c657750a
am 79afe010: Throwing system api call exceptions in case of dogfood builds
...
* commit '79afe010d55af6b1753430a334bf6e24448e9375':
Throwing system api call exceptions in case of dogfood builds
2015-09-17 21:38:25 +00:00
Sunny Goyal
7b221efa53
Null check when getting list of widget receivers
...
Bug: 23897605
Change-Id: Ib23b394828b0e5ec50bf7452b2ec2c905f4a6fbc
2015-09-17 14:09:27 -07:00
Sunny Goyal
79afe010d5
Throwing system api call exceptions in case of dogfood builds
...
Change-Id: I28bad663712a22360ceed095ceb54ce71b1449d5
2015-09-17 12:50:11 -07:00
Sunny Goyal
93cf2638eb
am 3dc7beea: Catching DeadObjectException and TransactionTooLarge
...
* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
Catching DeadObjectException and TransactionTooLarge
2015-09-15 21:20:18 +00:00
Sunny Goyal
f33b78b850
am 3dc7beea: Catching DeadObjectException and TransactionTooLarge
...
* commit '3dc7beea3c7f9a60070e767aa43f5877a467d3ed':
Catching DeadObjectException and TransactionTooLarge
2015-09-15 21:19:40 +00:00
Sunny Goyal
3dc7beea3c
Catching DeadObjectException and TransactionTooLarge
...
Bug: 23796965
Bug: 23796963
Change-Id: I4c6ed217b9925b2e6014adc374b8b21f1ba559bc
2015-09-15 13:36:46 -07:00
Sunny Goyal
527c7d3460
Refactoring deferred bind logic
...
> Using ViewTreeObserver to listen for onDraw instead of overriding onDraw in workspace
> Loader passes the list of deferrerd runnables to launcher
Change-Id: Ie4877f746c96e9497396de8089f00f70bf867e17
2015-09-15 10:43:13 -07:00
Winson
7089a4e197
am c0b52fef: Refactoring to ensure item deletion always removes from the DB.
...
* commit 'c0b52fefbc11531d560359c093484099f9d1298e':
Refactoring to ensure item deletion always removes from the DB.
2015-09-10 22:03:57 +00:00
Winson
c0b52fefbc
Refactoring to ensure item deletion always removes from the DB.
...
- Routing the various places where we call through to delete from
LauncherModel through Launcher, which will delegate the removal
of the icon from the workspace, and properly handle the removal
of all items and their contents from the db.
Bug: 23944119
Change-Id: I022fe2b3e79da16b5af87505c4362490b8422686
2015-09-10 14:55:17 -07:00
Sunny Goyal
ac7a174402
am 4abaf133: Merge "Removing items which are on invalid screen" into ub-launcher3-burnaby
...
* commit '4abaf133546b0c950edc82594985e9da50d9c1dd':
Removing items which are on invalid screen
2015-09-09 17:07:57 +00:00
Sunny Goyal
41cdc8d20a
Removing items which are on invalid screen
...
Bug: 23804751
Change-Id: If26a6b201aa6127cfd2a08fc4b408a27d6329bad
2015-09-04 15:26:17 -07:00
Sunny Goyal
8f531dd988
resolved conflicts for merge of 20884fdc to ub-launcher3-master
...
Change-Id: I31b49ed83bf6fa966ad68b587e6fa472e87bc0e3
2015-08-25 17:08:57 -07:00
Sunny Goyal
639e906a0f
Fixing work folder addition logic
...
> Showing animation when folder is added
> Not showing animation while cling is visible
> Checking is loader completed from UI thread
> Running bind complete runnables when bind is completed
Bug: 21772992
Bug: 23181585
Change-Id: I50742850da8294a877478ce02b107a026f68b563
2015-08-20 11:25:02 -07:00
Sunny Goyal
42e28092b3
Removing some eclipse warnings
...
Change-Id: I160feaee81b262be02446885fae643c0be71b7af
2015-08-17 12:56:19 -07:00