List of usage examples for android.database.sqlite SQLiteDatabase enableWriteAheadLogging
public boolean enableWriteAheadLogging()
From source file:com.shalzz.attendance.DatabaseHandler.java
@Override public void onConfigure(SQLiteDatabase db) { super.onConfigure(db); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { db.setForeignKeyConstraintsEnabled(true); }/*www. j a v a2 s . co m*/ db.enableWriteAheadLogging(); }