mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
bug 584896 - MIME Chooser dialog causes crash on Android r=mwu blocking-fennec=2.0a1+
This commit is contained in:
parent
9614214ce5
commit
866779d66c
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user