Skip to content
Permalink
Browse files

Add Handover Tapless support

  • Loading branch information...
Hamzah Malik Hamzah Malik
Hamzah Malik authored and Hamzah Malik committed Apr 25, 2016
1 parent aca3b6c commit cf629947922f867e3124921ef0dd3e711aca03c7
Showing with 7 additions and 0 deletions.
  1. +7 −0 app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java
@@ -1344,6 +1344,13 @@ public void updateUrl(@Nullable String url, boolean shortUrl) {
if (url == null || mSearch == null || mSearch.hasFocus()) {
return;
}
// Send to Handover
Intent i = new Intent("com.hamzahrmalik.handover.android.SEND");
// Put the data in using the tag
i.putExtra("**URL**=", url);
// Send broadcast
sendBroadcast(i);

final LightningView currentTab = mTabsManager.getCurrentTab();
mEventBus.post(new BrowserEvents.CurrentPageUrl(url));
if (shortUrl && !UrlUtils.isSpecialUrl(url)) {

0 comments on commit cf62994

Please sign in to comment.
You can’t perform that action at this time.