From: Mike Hommey Date: Sat, 1 Apr 2017 21:33:19 +0000 (+0900) Subject: Use the Mozilla Location Service key when the Google Key is not there X-Git-Tag: archive/raspbian/68.3.0esr-1_deb10u1+rpi1~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=b704657788d2d820542302b3b9e1ea1c47009792;p=firefox-esr.git Use the Mozilla Location Service key when the Google Key is not there Gbp-Pq: Topic debian-hacks Gbp-Pq: Name Use-the-Mozilla-Location-Service-key-when-the-Google.patch --- diff --git a/browser/app/profile/firefox.js b/browser/app/profile/firefox.js index a1f26ffac1b..384a01ccc42 100644 --- a/browser/app/profile/firefox.js +++ b/browser/app/profile/firefox.js @@ -1399,7 +1399,7 @@ pref("dom.debug.propagate_gesture_events_through_content", false); // All the Geolocation preferences are here. // -#ifndef EARLY_BETA_OR_EARLIER +#if !defined(EARLY_BETA_OR_EARLIER) && defined(GOOGLE_LOCATION_SERVICE_API_KEY) pref("geo.wifi.uri", "https://www.googleapis.com/geolocation/v1/geolocate?key=%GOOGLE_LOCATION_SERVICE_API_KEY%"); #else // Use MLS on Nightly and early Beta.