Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b0202799 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Added null check in appendSettingToCursor" into nyc-dev

parents 0dc92ca5 c9d064a3
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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];