private void A(android.location.Location p10)
    {
        if ((p10 != null) && (com.millennialmedia.MMSDK.g)) {
            this.t = p10;
            try {
                org.json.JSONObject v3_2 = new org.json.JSONObject();
                v3_2.put(lat, p10.getLatitude());
                v3_2.put(lon, p10.getLongitude());
                v3_2.put(type, 1);
            } catch (Object[] v10_1) {
                com.millennialmedia.MMLog.e(com.millennialmedia.internal.JSBridge.u, Error converting location to json., v10_1);
                return;
            }
            if (p10.hasAccuracy()) {
                v3_2.putOpt(accuracy, Float.valueOf(p10.getAccuracy()));
            }
            v3_2.put(lastfix, (p10.getTime() / 1000));
            Object[] v10_2 = new Object[1];
            v10_2[0] = v3_2;
            this.o(MmJsBridge.mraid.setLocation, v10_2);
            return;
        } else {
            Object[] v10_3 = new Object[1];
            v10_3[0] = Integer.valueOf(-1);
            this.o(MmJsBridge.mraid.setLocation, v10_3);
            return;
        }
    }