diff --git a/BasicSamples/libraries/BaseGameUtils/src/main/java/com/google/example/games/basegameutils/GameHelper.java b/BasicSamples/libraries/BaseGameUtils/src/main/java/com/google/example/games/basegameutils/GameHelper.java index a8ca81c1..c8694a23 100644 --- a/BasicSamples/libraries/BaseGameUtils/src/main/java/com/google/example/games/basegameutils/GameHelper.java +++ b/BasicSamples/libraries/BaseGameUtils/src/main/java/com/google/example/games/basegameutils/GameHelper.java @@ -33,7 +33,6 @@ import com.google.android.gms.common.GooglePlayServicesUtil; import com.google.android.gms.common.api.Api.ApiOptions.NoOptions; import com.google.android.gms.common.api.GoogleApiClient; -import com.google.android.gms.drive.Drive; import com.google.android.gms.games.Games; import com.google.android.gms.games.Games.GamesOptions; import com.google.android.gms.games.GamesActivityResultCodes; @@ -121,9 +120,7 @@ public interface GameHelperListener { public final static int CLIENT_NONE = 0x00; public final static int CLIENT_GAMES = 0x01; public final static int CLIENT_PLUS = 0x02; - public final static int CLIENT_SNAPSHOT = 0x08; - public final static int CLIENT_ALL = CLIENT_GAMES | CLIENT_PLUS - | CLIENT_SNAPSHOT; + public final static int CLIENT_ALL = CLIENT_GAMES | CLIENT_PLUS; // What clients were requested? (bit flags) int mRequestedClients = CLIENT_NONE; @@ -277,11 +274,6 @@ public GoogleApiClient.Builder createApiClientBuilder() { builder.addScope(Plus.SCOPE_PLUS_LOGIN); } - if (0 != (mRequestedClients & CLIENT_SNAPSHOT)) { - builder.addScope(Drive.SCOPE_APPFOLDER); - builder.addApi(Drive.API); - } - mGoogleApiClientBuilder = builder; return builder; }