Skip to content
Permalink
Browse files

Resolve #869 Android SqlCipherDatabaseSource should be extendable

  • Loading branch information...
npurushe committed May 22, 2019
1 parent bfca810 commit 7e644add5463b65f969f77c8d9ce5f0268e72b91
@@ -1,5 +1,5 @@
/*
* Copyright 2018 requery.io
* Copyright 2019 requery.io
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,11 +35,11 @@ import net.sqlcipher.database.SQLiteOpenHelper

import java.sql.Connection

class SqlCipherDatabaseSource(context: Context,
private val model: EntityModel,
name: String,
private val password: String,
version: Int)
open class SqlCipherDatabaseSource(context: Context,
private val model: EntityModel,
name: String,
private val password: String,
version: Int)
: SQLiteOpenHelper(context, name, null, version), DatabaseProvider<SQLiteDatabase> {

private val platform: Platform

0 comments on commit 7e644ad

Please sign in to comment.
You can’t perform that action at this time.