Commit Graph

2 Commits

Author SHA1 Message Date
Robert Sesek
061ee3088a Dynamically add the webview_zygote's preloaded APK to the zygote FD whitelist.
This refactors the whitelist to be a class, rather than just a static C array.
The whitelist can then be augmented dynamically when the package path is known
in the webview_zygote.

Test: m
Test: sailfish boots
Test: Enable Multi-process WebView in developer options, perform a search in GSA.

Bug: 21643067
Change-Id: Ia1f2535c7275b42b309631b4fe7859c30cbf7309
2016-12-16 16:42:41 -05:00
Robert Sesek
44afe8be8f Split core/jni/fd_utils-inl.h into a .h/.cpp pair.
Test: m
Test: sailfish boots

Change-Id: I9ca93f31f6c20b702b2207333a9d56f6592630b0
2016-12-16 14:51:30 -05:00