Fix resource rewriting in apps with other shared libs.
The resource rewriter was inadvertantly rewriting the resources for the
first shared library it found in the current application whether that
was the WebView or not due to a copy and paste oversight. Actually check
the name of the package before rewriting its resources. This is the name
of the package as the R class sees it, which is always
com.android.webview even when the manifest package name has been
Also remove unused imports.
(cherry picked from commit fd23af21150a4a8b499d1303de657f716ac0bf1e)
1 file changed