mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Adding a flag (enabled by default) to remove the all-apps button.
All apps can still be opened by clicking the caret. Bug: 29398447 Change-Id: I61f1b05cea83a0a49d7cc16c518c5419618ba779
This commit is contained in:
@@ -58,7 +58,8 @@ public class GridSizeMigrationTaskTest extends ProviderTestCase2<TestLauncherPro
|
||||
addItem(APPLICATION, 4, HOTSEAT, 0, 0),
|
||||
};
|
||||
|
||||
new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 2, 3, 1)
|
||||
mIdp.numHotseatIcons = 3;
|
||||
new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 3)
|
||||
.migrateHotseat();
|
||||
// First & last items are dropped as they have the least weight.
|
||||
verifyHotseat(hotseatItems[1], -1, hotseatItems[3]);
|
||||
@@ -73,7 +74,8 @@ public class GridSizeMigrationTaskTest extends ProviderTestCase2<TestLauncherPro
|
||||
addItem(10, 4, HOTSEAT, 0, 0),
|
||||
};
|
||||
|
||||
new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 2, 3, 1)
|
||||
mIdp.numHotseatIcons = 3;
|
||||
new GridSizeMigrationTask(getMockContext(), mIdp, mValidPackages, 5, 3)
|
||||
.migrateHotseat();
|
||||
// First & third items are dropped as they have the least weight.
|
||||
verifyHotseat(hotseatItems[1], -1, hotseatItems[4]);
|
||||
|
||||
Reference in New Issue
Block a user