We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e04a7d commit e2f476fCopy full SHA for e2f476f
wear-socket/src/main/java/com/github/jrejaud/wear_socket/WearSocket.java
@@ -107,11 +107,10 @@ public void run() {
107
((Activity)context).runOnUiThread(new Runnable() {
108
@Override
109
public void run() {
110
- Toast.makeText(context, message, Toast.LENGTH_SHORT).show();
+ Toast.makeText(context, message, Toast.LENGTH_LONG).show();
111
}
112
});
113
- new Throwable(message);
114
- return;
+ throw new RuntimeException(message);
115
116
WearSocket.this.nodeID = nodeID;
117
nodeFound.release();
0 commit comments