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:
Kartikaya Gupta 2013-03-09 22:52:43 +00:00
parent 0b5511da59
commit 439ebebadc

View File

@ -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);
}