I couldn't get what happing in this function?

SahilMathur

New member
Feb 3, 2017
1
0
0
Visit site
public void onSubscribe(@NonNull Subscriber<Void> subscriber) {
TabsManager.this.shutdown();
String url = null;
if (this.val$intent != null) {
url = this.val$intent.getDataString();
}
if (this.val$incognito) {
TabsManager.this.newTab(this.val$activity, url, true);
subscriber.onComplete();
return;
}
Log.d(TabsManager.TAG, "URL from intent: " + url);
TabsManager.this.mCurrentTab = null;
if (TabsManager.this.mPreferenceManager.getRestoreLostTabsEnabled()) {
TabsManager.this.restoreLostTabs(url, this.val$activity, subscriber);
return;
}
TabsManager.this.newTab(this.val$activity, null, false);
TabsManager.this.finishInitialization();
subscriber.onComplete();
}
}
 

Members online

Trending Posts

Forum statistics

Threads
942,849
Messages
6,916,206
Members
3,158,692
Latest member
BlueSun