Merge "Fix NPE in Dreams settings." into jb-mr1-dev

This commit is contained in:
John Spurlock
2012-08-09 06:18:45 -07:00
committed by Android (Google) Code Review

View File

@@ -80,7 +80,9 @@ public class DreamComponentPreference extends Preference {
ServiceManager.getService("dreams"));
try {
cn = dm.getDreamComponent();
} catch (RemoteException ex) {
} catch (RemoteException ex) { }
if (cn == null) {
setSummary("(unknown)");
return;
}