Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Whitelist another StrictMode violation.
Browse files Browse the repository at this point in the history
It appears to do both a read and a write on KK. Whitelist the write.

BUG=527415
TBR=agrieve

Review URL: https://codereview.chromium.org/1345443002

Cr-Commit-Position: refs/heads/master@{#348614}
(cherry picked from commit b1068c5)

Review URL: https://codereview.chromium.org/1337993003 .

Cr-Commit-Position: refs/branch-heads/2490@{#242}
Cr-Branched-From: 7790a35-refs/heads/master@{#344925}
  • Loading branch information
yfriedman committed Sep 14, 2015
1 parent d02f44f commit f1a9452
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ private OverrideUrlLoadingResult shouldOverrideUrlLoadingInternal(
boolean canResolveActivity = false;
// Temporarily allowing disk access while fixing. TODO: http://crbug.com/527415
StrictMode.ThreadPolicy oldPolicy = StrictMode.allowThreadDiskReads();
StrictMode.allowThreadDiskWrites();
try {
canResolveActivity = mDelegate.canResolveActivity(intent);
} finally {
Expand Down

0 comments on commit f1a9452

Please sign in to comment.