public void unregisterCallback(IProviderCallback cb){
synchronized (mCallbacks) {
    mCallbacks.remove(cb);
  }
}

public void unregisterCallback ( IProviderCallback cb ) { synchronized ( mCallbacks ) { mCallbacks . remove ( cb ) ; } }
removes a registered callback
