private void checkCurrentThread(String methodName) {
		if (Looper.myLooper() == Looper.getMainLooper()) {
			Log.w(TAG, String.format(WRONG_THREAD_MSG, mServiceDescriptor.getServiceName(), methodName));
		}
	}
private void checkCurrentThread(String methodName) {
		if (Looper.myLooper() == Looper.getMainLooper()) {
			Log.w(TAG, String.format(WRONG_THREAD_MSG, mServiceDescriptor.getServiceName(), methodName));
		}
	}
private void checkCurrentThread ( String methodName ) { if ( Looper . myLooper ( ) == Looper . getMainLooper ( ) ) { Log . w ( TAG , String . format ( WRONG_THREAD_MSG , mServiceDescriptor . getServiceName ( ) , methodName ) ) ; } }
Checks if the current thread is the main thread, if so it logs a wrning.
Checks if the current thread is the main thread if so it logs a wrning .