mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-20 23:56:20 +08:00
Forgot to add mailto to the activities launched by intent
This commit is contained in:
parent
db9d603881
commit
310766180f
@ -223,6 +223,12 @@ public class DroidGap extends Activity {
|
||||
startActivity(intent);
|
||||
return true;
|
||||
}
|
||||
else if(url.startsWith("mailto:"))
|
||||
{
|
||||
Intent mail = new Intent(Intent.ACTION_SENDTO, Uri.parse(url));
|
||||
startActivity(mail);
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
//We clear the back button state
|
||||
|
Loading…
Reference in New Issue
Block a user