Fixed a bug introduced in Spec Compliance change for Android 03/1103/6
authorJoseph Morrow <joseph.l.morrow@intel.com>
Thu, 28 May 2015 21:23:03 +0000 (17:23 -0400)
committerErich Keane <erich.keane@intel.com>
Thu, 28 May 2015 23:02:31 +0000 (23:02 +0000)
A change of the interface names in C++ was not propogated into Android API
https://gerrit.iotivity.org/gerrit/#/c/956/

Change-Id: Ida9540ea6ea45575d8c0191164b8e80a6981f393
Signed-off-by: Tim Kourt <tim.a.kourt@intel.com>
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1103
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
android/android_api/base/src/main/java/org/iotivity/base/OcPlatform.java

index c96ea43..ac17a5b 100644 (file)
@@ -46,17 +46,17 @@ public final class OcPlatform {
     /**\r
      * Default interface\r
      */\r
-    public static final String DEFAULT_INTERFACE = "oic.mi.def";\r
+    public static final String DEFAULT_INTERFACE = "oic.if.baseline";\r
 \r
     /**\r
      * Used in discovering (GET) links to other resources of a collection\r
      */\r
-    public static final String LINK_INTERFACE = "oic.mi.ll";\r
+    public static final String LINK_INTERFACE = "oic.if.ll";\r
 \r
     /**\r
      * Used in GET, PUT, POST, DELETE methods on links to other resources of a collection\r
      */\r
-    public static final String BATCH_INTERFACE = "oic.mi.b";\r
+    public static final String BATCH_INTERFACE = "oic.if.b";\r
 \r
     /**\r
      * Used in GET, PUT, POST methods on links to other remote resources of a group\r
@@ -70,6 +70,7 @@ public final class OcPlatform {
     public static final int DEFAULT_PRESENCE_TTL = 60;\r
     public static final String DEVICE_URI = "/oic/d";\r
     public static final String PRESENCE_URI = "/oic/ad";\r
+\r
     private static volatile boolean sIsPlatformInitialized = false;\r
 \r
     private OcPlatform() {\r