Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
enabled custom status pref
Browse files Browse the repository at this point in the history
  • Loading branch information
n8fr8 committed Aug 30, 2011
1 parent c38954c commit ee69bad
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -21,6 +21,7 @@
import android.content.Context;
import android.content.UriMatcher;
import android.content.ContentResolver;
import android.content.res.Configuration;
import android.database.Cursor;
import info.guardianproject.database.DatabaseUtils;
import info.guardianproject.database.sqlcipher.SQLiteConstraintException;
Expand Down Expand Up @@ -1042,6 +1043,8 @@ public boolean onCreate() {

if (mOpenHelper == null)
{
Context context = getContext().getApplicationContext();

SQLiteDatabase.loadLibs(getContext());
mOpenHelper = new DatabaseHelper(getContext(),"foo");
}
Expand All @@ -1050,6 +1053,11 @@ public boolean onCreate() {
}

@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);
}

@Override
public final int update(final Uri url, final ContentValues values,
final String selection, final String[] selectionArgs) {

Expand Down

0 comments on commit ee69bad

Please sign in to comment.