• Clark DuVall's avatar
    Implement application loading with isolatedSplits="true" · cc47e0cd
    Clark DuVall authored
    This change adds new application classes for Chrome/Monochrome which can
    be used with isolated splits to load the logic from the real application
    classes from the chrome split in the browser process. In child
    processes, only the necessary initialization will be done, and the
    chrome split will never be loaded.
    
    Application methods which have logic in ChromeApplication or
    MonochromeApplication have been moved an inner implementation class,
    which will then be called from the SplitCompatApplication superclass.
    
    Fonts were moved to the base module because they were conflicting with
    resources from the elements aar.
    
    Unfortunately, there is an Android bug with how services are loaded from
    isolated splits (b/169196314). I'll fix this in a follow up.
    
    Bug: 1126301
    Change-Id: Icafe93a8c6fb560315c3022839544faaa0327fcc
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2425404
    Commit-Queue: Clark DuVall <cduvall@chromium.org>
    Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#811930}
    cc47e0cd
ChromeVersionConstants.java.version 468 Bytes