question: protected void onServiceStopped ( ) { unregisterReceiver ( mBluetoothStateBroadcastReceiver ) ; for ( final BleManager < BleManagerCallbacks > manager : mBleManagers . values ( ) ) { manager . close ( ) ; manager . log ( LogContract . Log . Level . INFO , "Service destroyed" ) ; } mBleManagers . clear ( ) ; mManagedDevices . clear ( ) ; mBleManagers = null ; mManagedDevices = null ; }
target:  Called when the service has been stopped.