bug 584896 - MIME Chooser dialog causes crash on Android r=mwu blocking-fennec=2.0a1+

This commit is contained in:
Brad Lassey 2010-08-10 14:02:27 -04:00
parent 9614214ce5
commit 866779d66c

View File

@ -230,9 +230,7 @@ nsMIMEInfoAndroid::SetPreferredAction(nsHandlerInfoAction aPrefAction)
NS_IMETHODIMP
nsMIMEInfoAndroid::GetAlwaysAskBeforeHandling(PRBool* aAlwaysAsk)
{
// the chooser dialog currently causes a crash on Android, avoid this by returning false here
// but be sure to return mAlwaysAsk when that gets fixed (bug 584896)
*aAlwaysAsk = PR_FALSE;
*aAlwaysAsk = mAlwaysAsk;
return NS_OK;
}