Send the right intent
This commit is contained in:
parent
ecc1e4b443
commit
1b86ec39f1
|
@ -85,7 +85,7 @@ public class ShareActivity extends Activity {
|
||||||
|
|
||||||
final Intent unshortifiedIntent = new Intent(Intent.ACTION_VIEW, unshortifiedUrl);
|
final Intent unshortifiedIntent = new Intent(Intent.ACTION_VIEW, unshortifiedUrl);
|
||||||
try {
|
try {
|
||||||
startActivity(intent);
|
startActivity(unshortifiedIntent);
|
||||||
} catch (ActivityNotFoundException e) {
|
} catch (ActivityNotFoundException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
Toast.makeText(getApplicationContext(), R.string.no_activity_found,
|
Toast.makeText(getApplicationContext(), R.string.no_activity_found,
|
||||||
|
|
Loading…
Reference in New Issue