Fix the build!

This commit is contained in:
Romain Guy committed 2010-03-04 13:03:17 -08:00
1 parent 2dc785dbde
commit edcce099c9
23 files changed
+45 -15

No files matched your search

@@ -26,17 +26,17 @@ import android.widget.TextView;
import java.util.ArrayList;
import com.android.launcher.R;
/**
* GridView adapter to show the list of applications and shortcuts
*/
public class ShortcutsAdapter extends ArrayAdapter<ShortcutInfo> {
private final LayoutInflater mInflater;
private final PackageManager mPackageManager;
private final IconCache mIconCache;
public ShortcutsAdapter(Context context, ArrayList<ShortcutInfo> apps) {
super(context, 0, apps);
mPackageManager = context.getPackageManager();
mInflater = LayoutInflater.from(context);
mIconCache = ((LauncherApplication)context.getApplicationContext()).getIconCache();
}