1. SahilMathur's Avatar
    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();
    }
    }
    02-03-2017 02:54 AM
  2. B. Diddy's Avatar
    Moved from the Android Apps forum to the Software Development forum.
    02-03-2017 12:45 PM

Similar Threads

  1. Wifi turned off, but still shows in battery history
    By Rajdeep_442 in forum Ask a Question
    Replies: 2
    Last Post: 02-11-2017, 01:30 AM
  2. Sony Xperia Z Stuck in Ultra Stamina Mode-Please Help!
    By AC Question in forum Ask a Question
    Replies: 0
    Last Post: 02-03-2017, 02:24 AM
  3. how can i bring tab functionality in app?
    By SahilMathur in forum Android Apps
    Replies: 1
    Last Post: 02-03-2017, 12:52 AM
  4. Replies: 0
    Last Post: 02-02-2017, 10:39 PM
  5. Replies: 0
    Last Post: 02-02-2017, 09:55 PM
LINK TO POST COPIED TO CLIPBOARD