Fix NPE in Home sample.

This commit is contained in:
Romain Guy
2009-06-30 10:23:32 -07:00
parent 6c3fa89aad
commit fc614476e4
2 changed files with 2 additions and 3 deletions

View File

@@ -27,10 +27,8 @@ import android.view.View;
import android.view.ViewGroup;
import android.view.LayoutInflater;
import android.widget.TextView;
import android.*;
import java.util.List;
import java.util.Map;
/**
* The ApplicationsStackLayout is a specialized layout used for the purpose of the home screen

View File

@@ -260,6 +260,7 @@ public class Home extends Activity {
} else {
mFavorites.clear();
}
mApplicationsStack.setFavorites(mFavorites);
FileReader favReader;