From a25ab07149177ab4fb788c3e2dd9741b2fb16431 Mon Sep 17 00:00:00 2001 From: Vittal Pai Date: Tue, 20 Feb 2018 04:26:51 +0530 Subject: [PATCH] Change Platform Name bluemix-mobile-services/bmd-project-applauch#627 --- .../mobile/applaunch/android/common/AppLaunchUtils.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/common/AppLaunchUtils.java b/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/common/AppLaunchUtils.java index ffb00f0..e10f29a 100644 --- a/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/common/AppLaunchUtils.java +++ b/AppLaunchClientAndroid/applaunch-client-android/src/main/java/com/ibm/mobile/applaunch/android/common/AppLaunchUtils.java @@ -85,19 +85,13 @@ private static int getOSVersion() { private static String getPlatform() { // return Locale.getDefault().getLanguage(); - return "android"; + return "G"; } public static JSONObject getInitJson(Application application) { JSONObject initObject = new JSONObject(); try { - // initObject.put("model", getModel()); - // initObject.put("brand", getBrand()); - // initObject.put("OSVersion", getOSVersion()); initObject.put("platform", getPlatform()); - // initObject.put("appId", getPackageName(application)); - // initObject.put("appVersion", "1.0.0"); - // initObject.put("appName", getAppName(application)); } catch (JSONException e) { initObject = null; logger.error("Error creating init json " + e.getMessage());