Merge "Added null check in appendSettingToCursor" into nyc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b020279952
@@ -1324,6 +1324,9 @@ public class SettingsProvider extends ContentProvider {
|
||||
}
|
||||
|
||||
private static void appendSettingToCursor(MatrixCursor cursor, Setting setting) {
|
||||
if (setting == null) {
|
||||
return;
|
||||
}
|
||||
final int columnCount = cursor.getColumnCount();
|
||||
|
||||
String[] values = new String[columnCount];
|
||||
|
||||
Reference in New Issue
Block a user