Java Code Examples for org.chromium.content.browser.ChildProcessLauncher#startModerateBindingManagement()

The following examples show how to use org.chromium.content.browser.ChildProcessLauncher#startModerateBindingManagement() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DeferredStartupHandler.java    From delion with Apache License 2.0 5 votes vote down vote up
private void startModerateBindingManagementIfNeeded() {
    // Moderate binding doesn't apply to low end devices.
    if (SysUtils.isLowEndDevice()) return;

    boolean moderateBindingTillBackgrounded =
            FieldTrialList.findFullName("ModerateBindingOnBackgroundTabCreation")
                    .equals("Enabled");
    ChildProcessLauncher.startModerateBindingManagement(
            mAppContext, moderateBindingTillBackgrounded);
}
 
Example 2
Source File: DeferredStartupHandler.java    From AndroidChromium with Apache License 2.0 5 votes vote down vote up
private void startModerateBindingManagementIfNeeded() {
    // Moderate binding doesn't apply to low end devices.
    if (SysUtils.isLowEndDevice()) return;

    boolean moderateBindingTillBackgrounded =
            FieldTrialList.findFullName("ModerateBindingOnBackgroundTabCreation")
                    .equals("Enabled");
    ChildProcessLauncher.startModerateBindingManagement(
            mAppContext, moderateBindingTillBackgrounded);
}
 
Example 3
Source File: ProcessInitializationHandler.java    From 365browser with Apache License 2.0 4 votes vote down vote up
private void startModerateBindingManagementIfNeeded(Context context) {
    // Moderate binding doesn't apply to low end devices.
    if (SysUtils.isLowEndDevice()) return;
    ChildProcessLauncher.startModerateBindingManagement(context);
}