am 9c5f1c33: am 421eaa78: Merge "Fixed NPE when dumpSettings is called with a null cursor" into mnc-dev
* commit '9c5f1c334b8507af952fc778a0e8e82e7cc59aab': Fixed NPE when dumpSettings is called with a null cursor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user