Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / service / things-manager / sampleapp / android / Sample / src / com / tm / sample / GroupApiActivity.java
index 3ab7793..968e41c 100644 (file)
@@ -63,9 +63,10 @@ public class GroupApiActivity extends Activity {
     // For Scheduled ActionSet
     public static Context           mcontext;
     public static Calendar          scheduleTime;
-    
-    private final String            LOG_TAG = "[TMSample] " + this.getClass()
-                                                               .getSimpleName();;
+
+    private final String            LOG_TAG = "[TMSample] "
+                                                    + this.getClass()
+                                                            .getSimpleName(); ;
 
     @Override
     protected void onCreate(Bundle savedInstanceState) {
@@ -234,8 +235,6 @@ public class GroupApiActivity extends Activity {
     @Override
     public void onBackPressed() {
         super.onBackPressed();
-        // unregister the resource and set callback listener to null
-        groupClientObj.leaveGroup();
     }
 
     // for update UI these functions will be called from GroupClient Class