Skip to content
This repository was archived by the owner on Jul 27, 2019. It is now read-only.

Commit 53b538b

Browse files
committed
Added Toast for when sendToDesktop() fails.
1 parent f84c367 commit 53b538b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

send-to-desktop-api/app/src/main/java/com/adobe/sendtodesktopapi/MainActivity.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ public void onClick(View v) {
122122
e.printStackTrace();
123123

124124
mSendToDesktopProgressBar.setVisibility(View.INVISIBLE);
125+
Toast.makeText(MainActivity.this, "Unable to send. Check your connection", Toast.LENGTH_LONG).show();
125126
}
126127
}
127128
else {

0 commit comments

Comments
 (0)