diff options
author | Joe Onorato <joeo@android.com> | 2009-06-10 17:07:15 -0700 |
---|---|---|
committer | Joe Onorato <joeo@android.com> | 2009-06-11 11:29:57 -0700 |
commit | 23ecae3bbb60c5af940f3a22170d75eb6ac05b69 (patch) | |
tree | 1138102ba856743cffd931121409a71c2bae37c3 /test-runner | |
parent | 0b77453076a22569f24318d194b378b68f11a63e (diff) | |
download | frameworks_base-23ecae3bbb60c5af940f3a22170d75eb6ac05b69.zip frameworks_base-23ecae3bbb60c5af940f3a22170d75eb6ac05b69.tar.gz frameworks_base-23ecae3bbb60c5af940f3a22170d75eb6ac05b69.tar.bz2 |
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
This took quite a bit of refactoring.
Diffstat (limited to 'test-runner')
-rw-r--r-- | test-runner/android/test/mock/MockContext.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test-runner/android/test/mock/MockContext.java b/test-runner/android/test/mock/MockContext.java index e733dd1..9e0cf2c 100644 --- a/test-runner/android/test/mock/MockContext.java +++ b/test-runner/android/test/mock/MockContext.java @@ -105,6 +105,11 @@ public class MockContext extends Context { } @Override + public File getSharedPrefsFile(String name) { + throw new UnsupportedOperationException(); + } + + @Override public String getPackageCodePath() { throw new UnsupportedOperationException(); } |