Chromium Code Reviews
DescriptionWebView Proguard: Keep AwBrowserProcess.sExclusiveFileLock.
Static fields in Java are often assumed to stay alive throughout the
runtime of the entire program. However, the proguard
field/removal/writeonly optimization removes even static fields that are
only written to. This breaks some WebView code that relies on static
fields to hold onto a file-lock which prevents file-access from other
processes.
In this CL we explicitly tell proguard to keep
AwBrowserProcess.sExclusiveFileLock.
BUG=647291
Committed: https://crrev.com/d7730964c696db73bde4cc1ea6d07d3f09f85765
Cr-Commit-Position: refs/heads/master@{#431556}
Patch Set 1 #Patch Set 2 : Use -keep instead of -keepclassmembers. #Messages
Total messages: 10 (3 generated)
|