diff --git a/core/src/avm2/globals/flash/sensors/Geolocation.as b/core/src/avm2/globals/flash/sensors/Geolocation.as new file mode 100644 index 000000000..4efbfaeb4 --- /dev/null +++ b/core/src/avm2/globals/flash/sensors/Geolocation.as @@ -0,0 +1,9 @@ +package flash.sensors { + import flash.events.EventDispatcher; + [API("668")] + public class Geolocation extends EventDispatcher { + public static function get isSupported():Boolean { + return false; + } + } +} diff --git a/core/src/avm2/globals/globals.as b/core/src/avm2/globals/globals.as index b6746fb23..cd98ee3ab 100644 --- a/core/src/avm2/globals/globals.as +++ b/core/src/avm2/globals/globals.as @@ -328,6 +328,7 @@ include "flash/security/X509Certificate.as" include "flash/security/X500DistinguishedName.as" include "flash/sensors/Accelerometer.as" +include "flash/sensors/Geolocation.as" include "flash/system.as" include "flash/system/ApplicationDomain.as"