|
|
@ -123,8 +123,7 @@ public class AndroidDeviceDAOImpl implements MobileDeviceDAO{
|
|
|
|
mobileDevice.setDeviceProperties(new HashMap<String, String>());
|
|
|
|
mobileDevice.setDeviceProperties(new HashMap<String, String>());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
stmt.setString(2, AndroidUtils.getDeviceProperty(
|
|
|
|
stmt.setString(2, AndroidUtils.getDeviceProperty(mobileDevice.getDeviceProperties(),
|
|
|
|
mobileDevice.getDeviceProperties(),
|
|
|
|
|
|
|
|
AndroidPluginConstants.GCM_TOKEN));
|
|
|
|
AndroidPluginConstants.GCM_TOKEN));
|
|
|
|
stmt.setString(3, AndroidUtils.getDeviceProperty(mobileDevice.getDeviceProperties(),
|
|
|
|
stmt.setString(3, AndroidUtils.getDeviceProperty(mobileDevice.getDeviceProperties(),
|
|
|
|
AndroidPluginConstants.DEVICE_INFO));
|
|
|
|
AndroidPluginConstants.DEVICE_INFO));
|
|
|
@ -135,7 +134,7 @@ public class AndroidDeviceDAOImpl implements MobileDeviceDAO{
|
|
|
|
AndroidPluginConstants.DEVICE_NAME));
|
|
|
|
AndroidPluginConstants.DEVICE_NAME));
|
|
|
|
stmt.setString(8, mobileDevice.getLongitude());
|
|
|
|
stmt.setString(8, mobileDevice.getLongitude());
|
|
|
|
stmt.setString(9, mobileDevice.getLongitude());
|
|
|
|
stmt.setString(9, mobileDevice.getLongitude());
|
|
|
|
stmt.setString(10, mobileDevice.getImsi());
|
|
|
|
stmt.setString(10, mobileDevice.getImei());
|
|
|
|
stmt.setString(11, mobileDevice.getImsi());
|
|
|
|
stmt.setString(11, mobileDevice.getImsi());
|
|
|
|
stmt.setString(12, mobileDevice.getOsVersion());
|
|
|
|
stmt.setString(12, mobileDevice.getOsVersion());
|
|
|
|
stmt.setString(13, mobileDevice.getModel());
|
|
|
|
stmt.setString(13, mobileDevice.getModel());
|
|
|
|