code: static boolean uninstall() {
      boolean uninstalled = false;
      synchronized (lock) {
        if (locationCollectionClient != null) {
          locationCollectionClient.locationEngineController.onDestroy();
          locationCollectionClient.settingsChangeHandlerThread.quit();
          locationCollectionClient.sharedPreferences.unregisterOnSharedPreferenceChangeListener(locationCollectionClient);
          locationCollectionClient = null;
          uninstalled = true;
        }
      }
      return uninstalled;
    }
docs: Uninstall current location collection client.
  
  @return true if uninstall was successful