Merge "Fix NPE in Dreams settings." into jb-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
eaffad37c1
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user