[Samsung Galaxy Gear] blazespinnaker:
Interesting, I couldn't find that error message exactly but I think com.samsung.android.sdk.accessory.SAAgent is possibly involved in producing the error state:

private boolean handleMakeServiceConnectionAtomic(SAPeerAgent paramSAPeerAgent)
throws SAException
{
Log.i(TAG, "handleMakeServiceConnection: Send connection request , Waiting to accept connection");
SAAdapter localSAAdapter = SAAdapterAccessor.getDefault().getDefaultAdapter(getApplicationContext());
SharedPreferences localSharedPreferences = getApplicationContext().getSharedPreferences("AccessoryPreferences", 0);
String str = localSharedPreferences.getString(getClass().getName(), null);
if (str == null)
{
handleReRegisterAfterClearData();
str = localSharedPreferences.getString(getClass().getName(), null);
if (str == null)
{
Log.i(TAG, "handleMakeServiceConnectionAtomic: Even after restoring from Framework registeredKey is null. Nothing can be done");
onServiceConnectionResponse(null, 2048);
}
}
SAServiceDescription localSAServiceDescription = SAConfigUtil.getDefultInstance(getApplicationContext()).fetchServicesDescription(getClass().getName());
try
{
Log.d(TAG, "Is Member class" + String.valueOf(this.mConnHandlerAsImplementedbyCaller.isMemberClass()));
SASocket localSASocket;
if ((this.mConnHandlerAsImplementedbyCaller.getEnclosingClass() != null) && (SAAgent.class.isAssignableFrom(this.mConnHandlerAsImplementedbyCaller.getEnclosingClass())))
{
Log.d(TAG, "Enclosing class for ConnectionHelper:" + this.mConnHandlerAsImplementedbyCaller.getEnclosingClass().getSimpleName());
Class localClass = this.mConnHandlerAsImplementedbyCaller;
Class[] arrayOfClass = new Class[1];
arrayOfClass[0] = this.mConnHandlerAsImplementedbyCaller.getEnclosingClass();
localSASocket = (SASocket)localClass.getDeclaredConstructor(arrayOfClass).newInstance(new Object[] { this });
}
for (boolean bool = localSASocket.setupInitiator(this, str, paramSAPeerAgent, localSAServiceDescription, localSAAdapter); bool == true; bool = localSASocket.setupInitiator(this, str, paramSAPeerAgent, localSAServiceDescription, localSAAdapter))
{
this.mServiceState = 1;
Log.i(TAG, "onServiceConnectionResponse: CONNECTION_SUCCESS for " + getClass().getSimpleName());
this.mSuccessfulConnections.add(localSASocket);
onServiceConnectionResponse(localSASocket, 0);
localSASocket.setReadyToReceive();
return true;
localSASocket = (SASocket)this.mConnHandlerAsImplementedbyCaller.getDeclaredConstructor(new Class[0]).newInstance(new Object[0]);
}
this.mServiceState = 0;
int i = resolveConnectionError(SAAdapterAccessor.getDefault().getLastErrorCode(localSAAdapter));
Log.i(TAG, "onServiceConnectionResponse: CONNECTION_FAIL for " + getClass().getSimpleName());
onServiceConnectionResponse(null, i);
return false;
}
catch (InstantiationException localInstantiationException)
{
Log.e(TAG, "Unable to create Connection helper instance", localInstantiationException);
Log.i(TAG, "onServiceConnectionResponse: CONNECTION_FAILED");
onServiceConnectionResponse(null, 1027);
return false;
}
catch (IllegalAccessException localIllegalAccessException)
{
while (true)
Log.e(TAG, "Unable to create Connection helper instance", localIllegalAccessException);
}
catch (IllegalArgumentException localIllegalArgumentException)
{
while (true)
Log.e(TAG, "Unable to create Connection helper instance", localIllegalArgumentException);
}
catch (InvocationTargetException localInvocationTargetException)
{
while (true)
Log.e(TAG, "Unable to create Connection helper instance", localInvocationTargetException);
}
catch (NoSuchMethodException localNoSuchMethodException)
{
while (true)
Log.e(TAG, "Unable to create Connection helper instance", localNoSuchMethodException);
}
}