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:
James Wylder
2009-02-25 08:38:31 -06:00
parent c35feb106e
commit 074da8f9aa
2 changed files with 2 additions and 2 deletions

View File

@@ -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.
*/

View File

@@ -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