use of org.chromium.chrome.browser.FrozenNativePage in project AndroidChromium by JackyAndroid.
the class NativePageAssassin method freeze.
private void freeze(Tab tab) {
if (tab == null)
return;
NativePage pageToFreeze = tab.getNativePage();
if (pageToFreeze == null || pageToFreeze instanceof FrozenNativePage || pageToFreeze.getView().getParent() != null) {
return;
}
tab.freezeNativePage();
}
Aggregations