am fc614476: Fix NPE in Home sample.

Merge commit 'fc614476e42b461e5bee40b9ede172b6eec7b5d9'

* commit 'fc614476e42b461e5bee40b9ede172b6eec7b5d9':
  Fix NPE in Home sample.
diff --git a/samples/Home/src/com/example/android/home/ApplicationsStackLayout.java b/samples/Home/src/com/example/android/home/ApplicationsStackLayout.java
index ccc1f43..e4eb6a1 100644
--- a/samples/Home/src/com/example/android/home/ApplicationsStackLayout.java
+++ b/samples/Home/src/com/example/android/home/ApplicationsStackLayout.java
@@ -27,10 +27,8 @@
 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
diff --git a/samples/Home/src/com/example/android/home/Home.java b/samples/Home/src/com/example/android/home/Home.java
index 0d99508..c23f7b8 100644
--- a/samples/Home/src/com/example/android/home/Home.java
+++ b/samples/Home/src/com/example/android/home/Home.java
@@ -259,7 +259,8 @@
                 mFavorites = new LinkedList<ApplicationInfo>();
             } else {
                 mFavorites.clear();
-            }            
+            }
+            mApplicationsStack.setFavorites(mFavorites);            
             
             FileReader favReader;