/** * Unbinds the Activity from the Custom Tabs Service * @param activity the activity that is bound to the service */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ void unbindCustomTabsService(Activity activity) { if (mConnection == null) { return; } activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
public void destroy () { if (mConnection != null) { this.context.unbindService(mConnection); mConnection = null; } stopCamera(); }
private void unbindService() { getActivity().unbindService(mConnection); }
@Override public void onActivityPaused(Activity activity) { if (foregroundActivity == activity) { final ServiceConnection connection = container.getComponent(activity).getServiceConnection(); foregroundActivity.unbindService(connection); foregroundActivity = null; } } }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
void destroy() { if (mServiceBound) { mActivity.unbindService(mConnection); } }
@Override public void unbindService(ServiceConnection conn) { mProcessOngoing = false; super.unbindService(conn); }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
void destroy() { if (mServiceBound) { mActivity.unbindService(mConnection); } }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
/** * Unbinds the Activity from the Custom Tabs Service. * @param activity the activity that is connected to the service. */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) { return; } activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; mConnection = null; }
/** * Unbinds the Activity from the Custom Tabs Service * * @param activity the activity that is connected to the service */ public void unbindCustomTabsService(Activity activity) { if (connection == null) { return; } activity.unbindService(connection); client = null; customTabsSession = null; }
/** * Unbinds the Activity from the Custom Tabs Service * * @param activity the activity that is bound to the service */ public void unbindCustomTabsService(Activity activity) { if (mConnection == null) return; activity.unbindService(mConnection); mClient = null; mCustomTabsSession = null; }
/** * @param conn * @see android.content.ContextWrapper#unbindService(android.content.ServiceConnection) */ public void unbindService(ServiceConnection conn) { mActivity.unbindService(conn); }
private void doUnbindService() { if (this.monitorService != null) { try { final Message msg = Message.obtain(null, MonitorBatteryStateService.MSG_UNREGISTER_CLIENT); msg.replyTo = this.monitorServiceMessanger; this.monitorService.send(msg); } catch (final RemoteException ignored) { } } this.getActivity().unbindService(this.monitorServiceConnection); this.monitorService = null; }
private void doUnbindService() { if (this.monitorService != null) { try { final Message msg = Message.obtain(null, MonitorBatteryStateService.MSG_UNREGISTER_CLIENT); msg.replyTo = this.monitorServiceMessanger; this.monitorService.send(msg); } catch (final RemoteException e) { } } this.getActivity().unbindService(this.monitorServiceConnection); this.monitorService = null; }
@Override public void pause() { super.pause(); activity.unbindService(upnpServiceListener.getServiceConnexion()); activity = null; }
@Override public void pause() { super.pause(); activity.unbindService(upnpServiceListener.getServiceConnexion()); activity = null; }