Commit Graph

23 Commits

Author SHA1 Message Date
Nilesh Agrawal
da41ea6698 Allow 5 hotseat icons in DISABLE_ALL_APPS mode.
Added the xml resource in Launcher3 package as well.
This is a dummy resource with just hotseat icons.
Previously reviewed on: http://ag/396580

Change-Id: I31b0d7d4796d028f44f746260c381f2d8226605a
2013-12-09 14:37:59 -08:00
Nilesh Agrawal
d85ee9b994 Revert "Allow 5 hotseat icons in DISABLE_ALL_APPS mode."
This reverts commit f4ed1be4ef.

This broke the build: 
packages/apps/Launcher3/src/com/android/launcher3/LauncherProvider.java:292: cannot find symbol
symbol  : variable default_workspace_no_all_apps
location: class com.android.launcher3.R.xml
            return R.xml.default_workspace_no_all_apps;

Change-Id: I40e80494f06f08de3d827c6816075ac4d269ea6a
2013-12-09 20:39:28 +00:00
Nilesh Agrawal
f4ed1be4ef Allow 5 hotseat icons in DISABLE_ALL_APPS mode.
Change-Id: I71510cf079e211bd53e411e6e43f1bc6475f6d35
2013-12-06 17:58:56 -08:00
Dan Sandler
b3084e87fc Merge "Revert "Revert "Enable Launcher2 workspace import.""" into jb-ub-now-jolly-elf 2013-12-03 04:12:23 +00:00
Adam Cohen
6dbe049431 Only import workspaces for non-tablets (where grid hasn't changed)
Change-Id: I832b6259477d6325c141fddfe9b50cb05aeff8d2
2013-12-02 17:02:36 -08:00
Dan Sandler
d0e4118f2e Revert "Revert "Enable Launcher2 workspace import.""
This reverts commit a6a296ba1f.

https://memegen.googleplex.com/5476445807706112

Bug: 9832552
2013-12-02 16:00:03 -05:00
Dan Sandler
a6a296ba1f Revert "Enable Launcher2 workspace import."
This reverts commit 5b3bdd394e.

Bug: 11768766
Bug: 9832552
2013-11-26 18:55:28 +00:00
Dan Sandler
5b3bdd394e Enable Launcher2 workspace import.
Bug: 11800663
Change-Id: I5c8963bde69e667bf726d1f926a913c347294e16
2013-11-21 08:29:51 -05:00
Dan Sandler
f0b8dacf15 Disable importing workspaces from Launcher2.
Bug: 9832552
Bug: 11761032
Change-Id: I4dfd16046e9d6d0d1d864dff4340b0ed13cc8b8f
2013-11-19 19:31:04 +00:00
Winson Chung
a90303bb6f Adding logs to track down missing workspace screen. (Bug 11683562)
Change-Id: I12ef3331ab81004c75229d33afa0a8dd0fa8521c
2013-11-15 13:10:03 -08:00
Daniel Sandler
55585dbc1d Fix loading widgets in <include>d workspaces.
Resetting the item id was breaking the widget loading code
and is totally unnecessary.

Bug: 11352675
Change-Id: I2e70e542ecc5d8c0664b674ebdac5d520b71b8a0
2013-10-23 18:52:18 +00:00
Chris Wren
e523e70f75 move the provider authority to a config class
Bug: 10816034
Change-Id: I68364081f039f94205b805a1510eb04e6f0f40a2
2013-10-09 12:41:09 -04:00
Chris Wren
92aa423826 move to backup helper architecture
add journals to DecoderRing, for backup debugging

Bug: 10778984
Change-Id: I38e93853c05f72468b3800c172b96effc70a63e0
2013-10-07 14:43:22 +00:00
Daniel Sandler
57dac26fe0 Add support for <include> in workspace XML.
Note that this doesn't honor folder nesting (that is, you
can't include an XML file full of shortcuts inside a
<folder> node and expect them all to appear in that folder).
It's really just a way to concatenate/overlay multiple XML
files, making it easier to make a few tweaks/additions for
certain screen sizes or locales.

Bug: 10932771
Change-Id: I1fc29477d0717a8a7bc116f16729a955e6c625d5
2013-10-03 13:28:36 -04:00
Chris Wren
1ada10d595 add a backup agent.
backup only, restore path is just debugging/verification.
todo: restore path
todo: additional asset backup for widgets and launcher items

Bug: 10778984
Change-Id: I01aed4794a02f03daf21bca28f99cfbea90e4967
2013-09-24 09:41:39 -04:00
Chris Wren
d5e66bfca1 remember the provider path when creating a widget.
Bug: 10779026
Change-Id: I4f5b619087868a8f637c433c29e3aa6856ccc97d
2013-09-17 08:45:08 -04:00
Winson Chung
5f8afe6280 Initial Changes for Dynamic Grid
Change-Id: I9e6f1e5167791cf8dc140778dfa447f86424e9bf
2013-08-20 10:56:05 -07:00
Winson Chung
c763c4e4d2 Verifying that new applications are added and fixing issue with new items getting wrong ids.
- Fixing issue where the LauncherModel would be out of sync on first migration, and subsequent crashes

Change-Id: I6f58b09b615b28958c7f941e58ff9ae0ee3ba939
2013-07-25 14:50:49 -07:00
Daniel Sandler
e4f9891f01 Lazily instantiate LauncherAppState.
The application context for LauncherAppState is supplied by
the application whenever it starts; don't ask for an
instance before that.

Change-Id: I1ca8ea04238a357a682f79250f08813ead7ae532
2013-06-27 15:17:11 -04:00
Adam Cohen
dcd297f05a Initial implementation of Shrink-wrap
Change-Id: If73c7f7ca19ca62ff43134f515584354afef8507
2013-06-25 12:29:32 -07:00
Daniel Sandler
cc8befac35 Move LauncherApplication's state and code to LauncherAppState.
This removes Launcher's static data and other state out of
the Application object. Now LauncherApplication (extends
Application) exists only to instantiate LauncherAppState.

Change-Id: I4e323bd78b77536b92054105536a55c0c2c19ba8
2013-06-11 22:01:47 -04:00
Adam Cohen
e25af79564 HACK: temporary upgrade path from com.android.launcher2
-> load old provider
-> permute pages
-> strip all duplicates from workspace
-> add [allapps minus workspaceapps] to apps folder

Change-Id: Id319d532c6bf1d78370ecc736e95a9475d831de8
2013-06-06 23:09:26 -07:00
Daniel Sandler
325dc23624 Launcher2 is now Launcher3.
Changes include
  - moving from com.android.launcher{,2} to
    com.android.launcher3
  - removing wallpapers
  - new temporary icon

Change-Id: I1eabd06059e94a8f3bdf6b620777bd1d2b7c212b
2013-06-05 23:30:20 -04:00