Skip to content

Instantly share code, notes, and snippets.

@brainail
Created November 22, 2015 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brainail/0ac042f6c3abce3e1512 to your computer and use it in GitHub Desktop.
Save brainail/0ac042f6c3abce3e1512 to your computer and use it in GitHub Desktop.
Empty service used by the custom tab to bind to, raising the application's importance
public final class CustomTabsKeepAliveService extends Service {
private static final Binder sBinder = new Binder ();
@Override public IBinder onBind (Intent intent) {
return sBinder;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment