/*
 * Copyright 2014 Kevin Quan (kevin.quan@gmail.com)
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.kevinquan.google.activityrecoginition;

import com.google.android.gms.common.GooglePlayServicesClient.ConnectionCallbacks;
import com.google.android.gms.location.ActivityRecognitionClient;

public abstract class AbstractActivityRecognitionCallback implements ConnectionCallbacks {
    
    @SuppressWarnings("unused")
    private static final String TAG = AbstractActivityRecognitionCallback.class.getSimpleName();
    
    protected ActivityRecognitionClient mClient; 

    public AbstractActivityRecognitionCallback setClient(ActivityRecognitionClient client) {
        mClient = client;
        return this;
    }
    
    @Override public void onDisconnected() {}
}
@@ -50,17 +50,16 @@
 .com)%0A *
- 
 %0A * Lice
@@ -703,118 +703,105 @@
 mon.
+api.
 Google
-PlayServicesClient.ConnectionCallbacks;%0Aimport com.google.android.gms.location.ActivityRecognitionClient
+ApiClient;%0Aimport com.google.android.gms.common.api.GoogleApiClient.ConnectionCallbacks
 ;%0A%0Ap
@@ -890,20 +890,16 @@
 backs %7B%0A
-    
 %0A    @Su
@@ -1020,20 +1020,16 @@
 Name();%0A
-    
 %0A    pro
@@ -1039,43 +1039,96 @@
 ted 
-ActivityRecognitionClient mClient; 
+GoogleApiClient mClient;%0A%0A    @Override public void onConnectionSuspended(int reason) %7B%7D
 %0A%0A  
@@ -1182,35 +1182,25 @@
 tClient(
-ActivityRecognition
+GoogleApi
 Client c
@@ -1265,56 +1265,5 @@
   %7D%0A
-    %0A    @Override public void onDisconnected() %7B%7D%0A
 %7D

Update to latest Google Play Services APIs