diff options
author | Android (Google) Code Review <android-gerrit@google.com> | 2009-06-12 08:26:05 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-06-12 08:26:05 -0700 |
commit | bf85d63cb8858432ff845250fdaffdb556d2ef1b (patch) | |
tree | bccd2a36cb6534bbb9fc75cdf3ff550fce35e8e7 /test-runner | |
parent | 32c79898c0020637b2f8e536c8208519801eb9cb (diff) | |
parent | 78f0f8cb2efe9410127c39201e240f6d438eb53c (diff) | |
download | frameworks_base-bf85d63cb8858432ff845250fdaffdb556d2ef1b.zip frameworks_base-bf85d63cb8858432ff845250fdaffdb556d2ef1b.tar.gz frameworks_base-bf85d63cb8858432ff845250fdaffdb556d2ef1b.tar.bz2 |
am 78f0f8cb: Merge changes 3953,3954 into donut
Merge commit '78f0f8cb2efe9410127c39201e240f6d438eb53c'
* commit '78f0f8cb2efe9410127c39201e240f6d438eb53c':
Make the file backup helper not crash if a file you requested
Fix SharedPrefsBackupHelper so it doesn't hard code the paths to the files.
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(); } |