Sunny Goyal
b171e5675b
Adding a method to throttle backup manager calls
...
Notifying backup manager when a boolean preference changes
Bug: 22885775
Change-Id: I105013af1841f6cd87472f558fa490670ed1ba24
2016-01-29 14:12:21 -08:00
Sunny Goyal
75c7c5ae28
resolve merge conflicts of 6362683acb to ub-launcher3-calgary.
...
Change-Id: Id48bf33912bf927121356a08b8501ee0070bfdc7
2016-01-27 16:55:50 -08:00
Sunny Goyal
6362683acb
Merge "Removing unnecessary new object creation in dispatchDraw" into ub-launcher3-burnaby-polish
2016-01-28 00:30:06 +00:00
Sunny Goyal
ccf3a9ed56
Preventing a Runtime widget crash from crashing the Launcher
...
am: 3fc648d3b7
* commit '3fc648d3b792f63d3b99509300a602d23c842433':
Preventing a Runtime widget crash from crashing the Launcher
2016-01-26 20:02:13 +00:00
Sunny Goyal
3fc648d3b7
Preventing a Runtime widget crash from crashing the Launcher
...
Bug: 26750103
Change-Id: I31f120bb0c4d64b903b3dd5dae0ae46f95bcdf59
2016-01-25 17:30:25 -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
8bf6f311e8
Removing unnecessary new object creation in dispatchDraw
...
dispatchDraw was calling getVisiblePages which in turn calls
getDescendantCoordRelativeToParent and created multiple new abjects
Change-Id: I401fec076183979d30dfdbbdc02a57bd79f3886d
2016-01-23 14:42:25 -08: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
5743d870bd
resolve merge conflicts of b56090af35 to ub-launcher3-master.
...
Change-Id: I2ef9a25b70815efe37109004517a7c3077ffa22e
2016-01-19 13:01:20 -08:00
Sunny Goyal
b56090af35
Merge "Removing some obsolete files" into ub-launcher3-burnaby-polish
2016-01-19 20:54:00 +00:00
Sunny Goyal
3c0adb0729
Removign \'final\' modifiers from FeatureFlags so that then can be overridden
...
am: c7a49f0574
* commit 'c7a49f05743f377d2299e4ecbc2e396e7afe87c3':
Removign 'final' modifiers from FeatureFlags so that then can be overridden
2016-01-19 19:41:00 +00:00
Sunny Goyal
2080603ca7
Removing some obsolete files
...
Change-Id: I45cc23afcecb67163da99a9b81ace0021f723c9b
2016-01-19 10:38:49 -08:00
Sunny Goyal
c7a49f0574
Removign 'final' modifiers from FeatureFlags so that then can be overridden
...
Change-Id: I07265eaeed883301787eb0ffd838f516d7c63d26
2016-01-19 10:36:23 -08:00
Sunny Goyal
fda9dead66
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
...
am: d42903b4f0
* commit 'd42903b4f093a6915c4001b1f1b46140b4fdcb35':
Disabling icon normalization
2016-01-13 18:38:58 +00:00
Sunny Goyal
d42903b4f0
Merge "Disabling icon normalization" into ub-launcher3-burnaby-polish
2016-01-13 18:04:19 +00:00
Sunny Goyal
dde32e216c
Disabling icon normalization
...
Bug: 26537769
Change-Id: Ia1d7127a7c01fe98127e34440d1c003b669eaf75
2016-01-13 09:48:17 -08:00
Sunny Goyal
e3a593a025
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
...
am: 5255c87c6f
* commit '5255c87c6f215010aeeb690eed4eae28177b0a93':
Fixing icon badging being done on scaled bitmap size
2016-01-12 22:39:23 +00:00
Sunny Goyal
5255c87c6f
Merge "Fixing icon badging being done on scaled bitmap size" into ub-launcher3-burnaby-polish
2016-01-12 22:35:16 +00:00
Sunny Goyal
92899800b7
Fixing custom content screen not aligned properly in landscape
...
am: ecdc24f6f6
* commit 'ecdc24f6f667319db56a16dd7d1efda16dfe662e':
Fixing custom content screen not aligned properly in landscape
2016-01-12 18:45:48 +00:00
Sunny Goyal
ecdc24f6f6
Fixing custom content screen not aligned properly in landscape
...
Bug: 26413100
Change-Id: I1a111c9d2b0dfdfbc3cbd566e5784a1ed2bb6719
2016-01-12 10:35:55 -08:00
Sunny Goyal
e1483fb1cd
Fixing icon badging being done on scaled bitmap size
...
Launcher already scales the bitmap during the icon creaiton. The
badging should be done based on the actual size
Bug: 26345646
Change-Id: I1b1f7ac736322ba10db9083d602eec221b99687a
2016-01-08 12:16:15 -08:00
Sunny Goyal
e72f1d1428
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
...
am: e70fb6f8ef
* commit 'e70fb6f8ef03561b7875b872d0efa4ae2a5926af':
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
2016-01-07 21:54:24 +00:00
Sunny Goyal
e70fb6f8ef
Accessibility delegate is already set in BubbleTextView constructor. Not need to set it again
...
Bug: 25948877
Change-Id: I1d301a6169404a78881fa29da6d6bdf2fec8f146
2016-01-07 13:51:09 -08:00
Sunny Goyal
643b87af42
Merge "Extending the grid migration logic to handle density changes" into ub-launcher3-master
2016-01-07 19:38:32 +00:00
Sunny Goyal
4f7ed2405a
Fixing syntax error
...
am: f82e547359
* commit 'f82e5473593ea8ce20f664dd639376f546619997':
Fixing syntax error
2016-01-06 23:12:17 +00:00
Sunny Goyal
f82e547359
Fixing syntax error
...
Change-Id: I8fbcd34d891b1d020436e9aa430fd26372910a63
2016-01-06 15:09:22 -08:00
Sunny Goyal
31af6f6637
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
...
am: f7a263c437
* commit 'f7a263c4370d1e45bb53653de2ef0fb70061ecd5':
Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes.
2016-01-06 22:53:59 +00:00
Sunny Goyal
88065d1e5c
Adding a .nano prefix in the proto package name
...
am: a6164c5c9b
* commit 'a6164c5c9b48f84c10f4db47d20e7bdeaa98812f':
Adding a .nano prefix in the proto package name
2016-01-06 22:53:53 +00:00
Sunny Goyal
f7a263c437
Merge "Adding support for negative x and y in layout xml. Fixing default configurations for some screen sizes." into ub-launcher3-burnaby-polish
2016-01-06 22:51:43 +00:00
Sunny Goyal
a6164c5c9b
Adding a .nano prefix in the proto package name
...
Change-Id: Ia513089f813567953ca146538f79d21ca5fd8ddf
2016-01-06 14:47:13 -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
96a0963c4a
Adding support for negative x and y in layout xml.
...
Fixing default configurations for some screen sizes.
> Negative values for x and y are parsed as distance from end
column and row respectively. e.g. (-1, -2) => (3, 2) in a
4x4 grid
Bug: 26110981
Change-Id: I4ca30e225ed6e2a31610ab23235d2cd10e8d317c
2015-12-18 17:17:08 -08:00
Sunny Goyal
d7d5bd878a
resolve merge conflicts of ffa1237698 to ub-launcher3-master.
...
Change-Id: I65beecb5bbbfe9c4b33d6ca639118cb615c4120a
2015-12-18 15:04:13 -08:00
Sunny Goyal
ffa1237698
Merge "Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread" into ub-launcher3-burnaby-polish
2015-12-18 22:38:52 +00:00
Sunny Goyal
d3b53c3fa4
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish
...
am: 60acb943c6
* commit '60acb943c68e2f949fc8ad4703c9156549263897':
Preventing launcher crashes due to low disk space.
2015-12-18 22:32:36 +00:00
Sunny Goyal
60acb943c6
Merge "Preventing launcher crashes due to low disk space." into ub-launcher3-burnaby-polish
2015-12-18 22:29:47 +00:00
Tony Wickham
aff1a1df8a
resolve merge conflicts of ca656e3c69 to ub-launcher3-master.
...
Change-Id: Idbbf8caa041b2498b3a0a9d1a8f23bf163181972
2015-12-18 14:10:34 -08:00
Tony Wickham
ca656e3c69
Fix item count check in Folder#replaceFolderWithFinalItem()
...
Instead of checking the item count (number of views), check the number
of items in the model, since that is where the item is being removed.
This way, mInfo.contents.remove(0) will never be out of bounds.
Bug: 25666490
Change-Id: I0eb880b366157bddb5a8c342d538737722b7f0cd
2015-12-18 13:13:48 -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
6f70936f7f
Preventing launcher crashes due to low disk space.
...
In case of low disk space, all write operations to the IconCache are
silently ignored. This will not affect the Launcher behavior and
user will still see the latest icons, but in some cases, icon loading
would appear slow
Bug: 24585352
Change-Id: I85ccc519046fc3708403388bba89e019a3f2ce3d
2015-12-18 10:20:52 -08:00
Sunny Goyal
d804398755
Using SharedPrefenrece.apply instead of commit to prevent disk IO on main thread
...
Bug: 25903149
Change-Id: Ib1ee3fd27cca14f147f704aec768a330c4f03b33
2015-12-17 22:24:51 -08:00
Sunny Goyal
619c21e87b
resolve merge conflicts of d896ee43cd to ub-launcher3-master.
...
Change-Id: If09db8d99e7065c08fcb81b8d97a68a2557d53d7
2015-12-17 12:32:54 -08:00
Sunny Goyal
d896ee43cd
Protecting Icon normalization behind a feature flag
...
Change-Id: I91b7126765049372a3ffec3ad6f661715dc83bab
2015-12-17 11:24:46 -08:00
Sunny Goyal
6ef0f76939
Reverting the cache version change, so that users on release version do not get the cache reset
...
am: 2b84b652b3
* commit '2b84b652b33977d82e0af4ab9fdc7a97cb8d5a33':
Reverting the cache version change, so that users on release version do not get the cache reset
2015-12-16 01:30:07 +00:00
Sunny Goyal
2b84b652b3
Reverting the cache version change, so that users on release version do not get the cache reset
...
Change-Id: I61b06ca001e6ae47693e8d6f467565314d66f1b4
2015-12-15 17:12:22 -08:00
Sunny Goyal
4a0380d17d
Merge "Preserving the open folder state across rotation" into ub-launcher3-master
2015-12-14 22:56:51 +00:00
Sunny Goyal
38e7f28d3f
resolve merge conflicts of a50a419b82 to ub-launcher3-master.
...
Change-Id: Ie0e233e22284b8ddd2dbb86204e042651b6dfae2
2015-12-11 14:18:16 -08:00
Sunny Goyal
a50a419b82
Restarting launcher when on font scale change
...
Chaning the font scale affects the static device profile and may
affect various background threads and static constants. Killing
the process ensures that these states get invalidated properly.
Bug: 26131935
Change-Id: Idc262ee5d158019e7a2505f8fb9a6413c06bfdeb
2015-12-11 10:55:20 -08:00