/*
 * Derived from android.database.sqlite.SqliteWrapper
 * (tag android-4.4.4_r2.0.1)
 */

package ca.bmaupin.merge.sms.android;

public final class SqliteWrapper {

}

@@ -128,42 +128,1397 @@
 d;%0A%0A
-public final class SqliteWrapper %7B%0A
+import ca.bmaupin.merge.sms.R;%0Aimport android.content.ContentResolver;%0Aimport android.content.Context;%0Aimport android.database.Cursor;%0Aimport android.database.sqlite.SQLiteException;%0Aimport android.net.Uri;%0Aimport android.util.Log;%0Aimport android.widget.Toast;%0A%0Apublic final class SqliteWrapper %7B%0A    private static final String TAG = %22SqliteWrapper%22;%0A    private static final String SQLITE_EXCEPTION_DETAIL_MESSAGE%0A    = %22unable to open database file%22;%0A%09%0A    // FIXME: need to optimize this method.%0A    private static boolean isLowMemory(SQLiteException e) %7B%0A        return e.getMessage().equals(SQLITE_EXCEPTION_DETAIL_MESSAGE);%0A    %7D%0A    %0A    public static void checkSQLiteException(Context context, SQLiteException e) %7B%0A        if (isLowMemory(e)) %7B%0A            Toast.makeText(context, R.string.low_memory,%0A                    Toast.LENGTH_SHORT).show();%0A        %7D else %7B%0A            throw e;%0A        %7D%0A    %7D%0A    %0A    public static Cursor query(Context context, ContentResolver resolver, Uri uri,%0A            String%5B%5D projection, String selection, String%5B%5D selectionArgs, String sortOrder) %7B%0A        try %7B%0A            return resolver.query(uri, projection, selection, selectionArgs, sortOrder);%0A        %7D catch (SQLiteException e) %7B%0A            Log.e(TAG, %22Catch a SQLiteException when query: %22, e);%0A            checkSQLiteException(context, e);%0A            return null;%0A        %7D%0A    %7D
 %0A%7D%0A

Add dependencies for RecipientIdCache