Fix NPE in Home sample.
This commit is contained in:
@@ -27,10 +27,8 @@ import android.view.View;
|
|||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.*;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The ApplicationsStackLayout is a specialized layout used for the purpose of the home screen
|
* The ApplicationsStackLayout is a specialized layout used for the purpose of the home screen
|
||||||
|
|||||||
@@ -260,6 +260,7 @@ public class Home extends Activity {
|
|||||||
} else {
|
} else {
|
||||||
mFavorites.clear();
|
mFavorites.clear();
|
||||||
}
|
}
|
||||||
|
mApplicationsStack.setFavorites(mFavorites);
|
||||||
|
|
||||||
FileReader favReader;
|
FileReader favReader;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user