am 421eaa78: Merge "Fixed NPE when dumpSettings is called with a null cursor" into mnc-dev

* commit '421eaa7813e33ea1bbce398e5940e6ab477c759d':
  Fixed NPE when dumpSettings is called with a null cursor
This commit is contained in:
Fyodor Kupolov
2015-06-11 22:41:34 +00:00
committed by Android Git Automerger

View File

@@ -516,7 +516,7 @@ public class SettingsProvider extends ContentProvider {
}
private void dumpSettings(Cursor cursor, PrintWriter pw) {
if (!cursor.moveToFirst()) {
if (cursor == null || !cursor.moveToFirst()) {
return;
}