summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorTorne (Richard Coles) <torne@google.com>2019-09-03 13:46:49 -0400
committerRichard Coles <torne@google.com>2019-09-05 20:56:58 +0000
commite8e2127ada5c35ea8565673c7a6b0c921017a456 (patch)
treecddb72d01afa4588862a68c5a9d068135c43883b /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parenta86312e067bb4914fd07493d08818ad8e5cf6d57 (diff)
WebView: pay attention to PACKAGE_CHANGED.
PackageManager sends PACKAGE_CHANGED for a package if one of its static shared library dependencies has been reinstalled as of cbafe0b025e8. When this occurs, we need to update our cached copy of the PackageInfo, and restart the webview_zygote and RELRO preparation process, because the path to the library in the PackageInfo will now be different. This fixes the issue where if TrichromeLibrary is reinstalled at the same version, WebView can no longer spawn renderer processes because the webview_zygote is still being given the old classpath. Both cases where we early out are removed, as the last update time is also not changed in this case. This may result in the update logic triggering in cases where it previously would not, but since we don't explicitly kill clients in this case, it shouldn't affect use of WebView. Bug: 140129991 Test: adb install -r <same version of TrichromeLibrary.apk> Change-Id: I6119939045a842561811dc018853e3d641275e47 (cherry picked from commit b719f6332b8bccfa07875983af7c190fcf8b8ffb)
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions