mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-08 16:58:38 +09:00
parent
9195e9e4e3
commit
b586913598
53 changed files with 60 additions and 750 deletions
|
|
@ -33,10 +33,6 @@ class nsIPrincipal;
|
|||
#include "AndroidLocationProvider.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
#include "GonkGPSGeolocationProvider.h"
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_GPSD
|
||||
#include "GpsdLocationProvider.h"
|
||||
#endif
|
||||
|
|
@ -688,15 +684,6 @@ nsresult nsGeolocationService::Init()
|
|||
mProvider = new AndroidLocationProvider();
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_GONK
|
||||
// GonkGPSGeolocationProvider can be started at boot up time for initialization reasons.
|
||||
// do_getService gets hold of the already initialized component and starts
|
||||
// processing location requests immediately.
|
||||
// do_Createinstance will create multiple instances of the provider which is not right.
|
||||
// bug 993041
|
||||
mProvider = do_GetService(GONK_GPS_GEOLOCATION_PROVIDER_CONTRACTID);
|
||||
#endif
|
||||
|
||||
#ifdef MOZ_WIDGET_GTK
|
||||
#ifdef MOZ_GPSD
|
||||
if (Preferences::GetBool("geo.provider.use_gpsd", false)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue