Merge change 8884 into donut
* changes: DO NOT MERGE. Already in master. Fix calendar test.
This commit is contained in:
@ -13,6 +13,7 @@ import android.content.pm.PackageManager;
|
||||
import android.net.Uri;
|
||||
|
||||
import java.util.List;
|
||||
import java.io.File;
|
||||
|
||||
/**
|
||||
* A mock context which prevents its users from talking to the rest of the device while
|
||||
@ -82,4 +83,8 @@ public class IsolatedContext extends ContextWrapper {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public File getFilesDir() {
|
||||
return new File("/dev/null");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user