[WebLayer] Compile dex if necessary to avoid OMR1 bug
This is a simplified version of the fix for Chrome in crbug.com/1159608. This is not as big of an issue in WebLayer because it looks like the bug doesn't apply if the framework detects the split is used by another app (which should be the case in WebLayer). We still want the fix just in case, since there are still some situations we can get invalid dex, for example if a user opens a WebView app (not WebLayer), then bg-dexopt runs. Bug: 1105096 Change-Id: I72d105fd7de0a9a32331d1b394dec05f4bc35b0c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2623118Reviewed-by:Richard Coles <torne@chromium.org> Commit-Queue: Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#842542}
Showing
Please register or sign in to comment