From 23ecae3bbb60c5af940f3a22170d75eb6ac05b69 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Wed, 10 Jun 2009 17:07:15 -0700 Subject: Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files. This took quite a bit of refactoring. --- test-runner/android/test/mock/MockContext.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'test-runner') 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(); } -- cgit v1.1