summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMichael Jurka <mikejurka@google.com>2011-04-29 14:43:11 -0700
committerMichael Jurka <mikejurka@google.com>2011-04-29 14:43:17 -0700
commit20c0364a1de9f739e559fc384e9c0f0963c77265 (patch)
tree04e80d2dd4453b6374941be16740ee18867c5ee4 /src
parentdf2cc41acbfacd576f99483a4af1cda32ebd3d09 (diff)
downloadandroid_packages_apps_Trebuchet-20c0364a1de9f739e559fc384e9c0f0963c77265.tar.gz
android_packages_apps_Trebuchet-20c0364a1de9f739e559fc384e9c0f0963c77265.tar.bz2
android_packages_apps_Trebuchet-20c0364a1de9f739e559fc384e9c0f0963c77265.zip
Deleting deprecated and unused code
Diffstat (limited to 'src')
-rw-r--r--src/com/android/launcher2/LauncherApplication.java3
-rw-r--r--src/com/android/launcher2/LauncherModel.java2
-rw-r--r--src/com/android/launcher2/ShortcutInfo.java6
3 files changed, 0 insertions, 11 deletions
diff --git a/src/com/android/launcher2/LauncherApplication.java b/src/com/android/launcher2/LauncherApplication.java
index ed007dd67..041392c68 100644
--- a/src/com/android/launcher2/LauncherApplication.java
+++ b/src/com/android/launcher2/LauncherApplication.java
@@ -23,7 +23,6 @@ import android.content.IntentFilter;
import android.content.res.Configuration;
import android.database.ContentObserver;
import android.os.Handler;
-import dalvik.system.VMRuntime;
public class LauncherApplication extends Application {
public LauncherModel mModel;
@@ -34,8 +33,6 @@ public class LauncherApplication extends Application {
@Override
public void onCreate() {
- VMRuntime.getRuntime().setMinimumHeapSize(4 * 1024 * 1024);
-
super.onCreate();
// set sIsScreenXLarge and sScreenDensity *before* creating icon cache
diff --git a/src/com/android/launcher2/LauncherModel.java b/src/com/android/launcher2/LauncherModel.java
index eb4cab27a..a92e33e9d 100644
--- a/src/com/android/launcher2/LauncherModel.java
+++ b/src/com/android/launcher2/LauncherModel.java
@@ -1566,13 +1566,11 @@ public class LauncherModel extends BroadcastReceiver {
Parcelable bitmap = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON);
Bitmap icon = null;
- boolean filtered = false;
boolean customIcon = false;
ShortcutIconResource iconResource = null;
if (bitmap != null && bitmap instanceof Bitmap) {
icon = Utilities.createIconBitmap(new FastBitmapDrawable((Bitmap)bitmap), context);
- filtered = true;
customIcon = true;
} else {
Parcelable extra = data.getParcelableExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE);
diff --git a/src/com/android/launcher2/ShortcutInfo.java b/src/com/android/launcher2/ShortcutInfo.java
index 72f2d518c..c0f80aeec 100644
--- a/src/com/android/launcher2/ShortcutInfo.java
+++ b/src/com/android/launcher2/ShortcutInfo.java
@@ -148,12 +148,6 @@ class ShortcutInfo extends ItemInfo {
return "ShortcutInfo(title=" + title.toString() + ")";
}
- @Override
- void unbind() {
- super.unbind();
- }
-
-
public static void dumpShortcutInfoList(String tag, String label,
ArrayList<ShortcutInfo> list) {
Log.d(tag, label + " size=" + list.size());