summaryrefslogtreecommitdiffstats
path: root/AndroidManifest.xml
diff options
context:
space:
mode:
authorDan Sandler <dsandler@android.com>2014-01-09 15:01:33 -0500
committerDan Sandler <dsandler@android.com>2014-01-10 15:49:51 -0500
commitd502404a44fb7c4ea739622d7f8bdd2a764d97a1 (patch)
tree2d14d3da3c805d6dcb61b9573ffdbc8cb4e85dc9 /AndroidManifest.xml
parent0bae5b220a24541dbc69fb2cb755f303776d0a59 (diff)
downloadandroid_packages_apps_Trebuchet-d502404a44fb7c4ea739622d7f8bdd2a764d97a1.tar.gz
android_packages_apps_Trebuchet-d502404a44fb7c4ea739622d7f8bdd2a764d97a1.tar.bz2
android_packages_apps_Trebuchet-d502404a44fb7c4ea739622d7f8bdd2a764d97a1.zip
New launcher2 icon migration algorithm.
The user will be able to request "icon migration", which is not a direct mapping of the old workspace, but rather follows this heuristic for bringing the user's favorite icons (by dint of their existence on the workspace) into Launcher3: Workspace shortcuts are placed in lexicographic order on the workspace starting at screen 0 (leaving the bottom row of screen 0 empty to make sure there's room to move things around). Folders are preserved and their contents sorted. Duplicate icons (that is, shortcuts with the same intent, pursuant to some cleanups) are removed. Hotseat icons are migrated in their original place, unless their new location is not accommodated by the hotseat (i.e. the L3 hotseat is too small on this device), in which case they're treated like any other shortcut and tossed into the workspace. To test, turn on Launcher.ENABLE_DEBUG_INTENTS and then: $ adb shell am broadcast -a com.android.launcher3.action.DELETE_DATABASE $ adb shell am broadcast -a com.android.launcher3.action.MIGRATE_DATABASE Bug: 12416411 Change-Id: Ia5c56f36c11455867ea20a39f70210f595020a87
Diffstat (limited to 'AndroidManifest.xml')
-rw-r--r--AndroidManifest.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 4e27e6f27..36fa4c190 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -20,6 +20,7 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.launcher3">
+ <uses-sdk android:targetSdkVersion="19" android:minSdkVersion="16"/>
<permission
android:name="com.android.launcher3.permission.PRELOAD_WORKSPACE"