mirror of
https://github.com/zxing/zxing.git
synced 2025-01-12 19:57:27 -08:00
Per Lachezar, look for any Google Maps domain here
git-svn-id: https://zxing.googlecode.com/svn/trunk@1870 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
711e746900
commit
4a6a759e85
|
@ -204,7 +204,7 @@ public class GeoLocationGenerator implements GeneratorSource, ChangeListener {
|
|||
|
||||
protected void fillWithMaps() {
|
||||
String link = mapsLink.getText();
|
||||
if (!link.matches("http://maps.google.com/.*")) {
|
||||
if (!link.startsWith("http://maps.google.")) {
|
||||
return;
|
||||
}
|
||||
String q = "";
|
||||
|
|
Loading…
Reference in a new issue