/*
 * Copyright 2017 FreshPlanet
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.freshplanet.ane.AirDeviceId;


import com.adobe.fre.FREContext;
import com.adobe.fre.FREFunction;
import com.freshplanet.ane.AirDeviceId.functions.GetIDFAFunction;
import com.freshplanet.ane.AirDeviceId.functions.GetIDFVFunction;

import java.util.HashMap;
import java.util.Map;

public class AirDeviceIdExtensionContext extends FREContext {
	@Override
	public void dispose()
	{
		AirDeviceIdExtension.context = null;
	}

	@Override
	public Map<String, FREFunction> getFunctions() {
		Map<String, FREFunction> functions = new HashMap<String, FREFunction>();
		
		functions.put("getID", new GetIDFunction());
		functions.put("getIDFV", new GetIDFVFunction());
		functions.put("getIDFA", new GetIDFAFunction());
		return functions;	
	}

}
@@ -1163,55 +1163,8 @@
 %0A%09%09%0A
-%09%09functions.put(%22getID%22, new GetIDFunction());%0A
 %09%09fu

remove call to removed function