Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.

This took quite a bit of refactoring.
This commit is contained in:
Joe Onorato
2009-06-10 17:07:15 -07:00
parent 0b77453076
commit 23ecae3bbb
12 changed files with 236 additions and 88 deletions

View File

@@ -104,6 +104,11 @@ public class MockContext extends Context {
throw new UnsupportedOperationException();
}
@Override
public File getSharedPrefsFile(String name) {
throw new UnsupportedOperationException();
}
@Override
public String getPackageCodePath() {
throw new UnsupportedOperationException();