[Android] add SplitCompat.installActivity to createConfigurationContext
This CL calls SplitCompat.installActivity on the context returned by |ChromeBaseAppCompatActivity.createConfigurationContext|. This is needed because internally |applyOverrideConfiguration| creates a new context each time getResources() is called. This new context does not have access to the SplitCompat language packs. By calling SplitCompat.installActivity on this new activity hopefully the localization resources will be found. Bug: 1128698 Change-Id: I121ae24a84e456b9cacdfabefc310a0e7ee1c6f7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2430825Reviewed-by:Andrew Grieve <agrieve@chromium.org> Commit-Queue: Trevor Perrier <perrier@chromium.org> Cr-Commit-Position: refs/heads/master@{#810727}
Showing
Please register or sign in to comment