mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 849281 - Use the NdefMessage constructor that is in API 9 instead of the one that is 16+. r=mfinkle
This commit is contained in:
parent
0b5511da59
commit
439ebebadc
@ -370,7 +370,7 @@ abstract public class BrowserApp extends GeckoApp
|
||||
if (tab == null || tab.isPrivate()) {
|
||||
return null;
|
||||
}
|
||||
return new NdefMessage(NdefRecord.createUri(tab.getURL()));
|
||||
return new NdefMessage(new NdefRecord[] { NdefRecord.createUri(tab.getURL()) });
|
||||
}
|
||||
}, this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user