Change scope on SettingsProvider.mDatabaseHelper and DatabaseHelper
This change will allow the DatabaseHelper to be inheritted and extended without the need to make futher changes to the existing implementation.
This commit is contained in:
@@ -55,7 +55,7 @@ import java.util.List;
|
||||
* Database helper class for {@link SettingsProvider}.
|
||||
* Mostly just has a bit {@link #onCreate} to initialize the database.
|
||||
*/
|
||||
class DatabaseHelper extends SQLiteOpenHelper {
|
||||
public class DatabaseHelper extends SQLiteOpenHelper {
|
||||
/**
|
||||
* Path to file containing default bookmarks, relative to ANDROID_ROOT.
|
||||
*/
|
||||
|
||||
@@ -40,7 +40,7 @@ public class SettingsProvider extends ContentProvider {
|
||||
private static final String TAG = "SettingsProvider";
|
||||
private static final boolean LOCAL_LOGV = false;
|
||||
|
||||
private DatabaseHelper mOpenHelper;
|
||||
protected DatabaseHelper mOpenHelper;
|
||||
|
||||
/**
|
||||
* Decode a content URL into the table, projection, and arguments
|
||||
|
||||
Reference in New Issue
Block a user