Fix DumpRenderTree2 to not attempt to read expected results over HTTPS

This is required now that we have HTTPS tests in the triaged set of
tests.

Change-Id: I650518a4536ed903f637a44c0901b1e38bdc1a84
This commit is contained in:
Steve Block
2010-11-09 13:36:43 +00:00
parent cda9448206
commit ca501d2036
3 changed files with 7 additions and 6 deletions

View File

@@ -262,7 +262,7 @@ public class ManagerService extends Service {
int size = EXPECTED_RESULT_LOCATION_RELATIVE_DIR_PREFIXES.size();
for (int i = 0; bytes == null && i < size; i++) {
relativePath = locations.get(i) + originalRelativePath;
bytes = FsUtils.readDataFromUrl(FileFilter.getUrl(relativePath));
bytes = FsUtils.readDataFromUrl(FileFilter.getUrl(relativePath, false));
}
mLastExpectedResultPathFetched = bytes == null ? null : relativePath;