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 ; }
Uninstall current location collection client .