diff options
author | James Wylder <jbob0823@gmail.com> | 2009-02-25 08:38:31 -0600 |
---|---|---|
committer | James Wylder <jbob0823@gmail.com> | 2009-02-25 08:38:31 -0600 |
commit | 074da8f9aa424b25d84f4e4eb762ca534ea96716 (patch) | |
tree | 4d4b6af609279f17c5e0fcea943b548f9df8f473 | |
parent | c35feb106e8ded282a261ae89075361ae5dc4214 (diff) | |
download | frameworks_base-074da8f9aa424b25d84f4e4eb762ca534ea96716.zip frameworks_base-074da8f9aa424b25d84f4e4eb762ca534ea96716.tar.gz frameworks_base-074da8f9aa424b25d84f4e4eb762ca534ea96716.tar.bz2 |
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.
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java | 2 | ||||
-rw-r--r-- | packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java index e2ea85b..2182271 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/DatabaseHelper.java @@ -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. */ diff --git a/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java b/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java index 35bf6b0..0101ece 100644 --- a/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java +++ b/packages/SettingsProvider/src/com/android/providers/settings/SettingsProvider.java @@ -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 |