public PendingResult openContents( GoogleApiClient googleApiClient, int i, DownloadProgressListener downloadProgressListener) { if (i == 268435456 || i == 536870912 || i == 805306368) { return googleApiClient.a(new AnonymousClass_1(i, downloadProgressListener)); } throw new IllegalArgumentException("Invalid mode provided."); }
public static void a(GoogleApiClient googleapiclient, ExecutionOptions executionoptions) { googleapiclient = (q) googleapiclient.a(Drive.CU); if (executionoptions.hP() && !googleapiclient.ib()) { throw new IllegalStateException( "Application must define an exported DriveEventService subclass in AndroidManifest.xml to be notified on completion"); } else { return; } }
public static jg e(GoogleApiClient googleapiclient) { boolean flag1 = true; boolean flag; if (googleapiclient != null) { flag = true; } else { flag = false; } hm.b(flag, "GoogleApiClient parameter is required."); googleapiclient = (jg) googleapiclient.a(yH); if (googleapiclient != null) { flag = flag1; } else { flag = false; } hm.a( flag, "GoogleApiClient is not configured to use the LocationServices.API Api. Pass thisinto GoogleApiClient.Builder#addApi() to use this feature."); return googleapiclient; }
public IntentSender build(GoogleApiClient var1) { jx.b((Object) this.Pu, "Must provide initial metadata to CreateFileActivityBuilder."); jx.a(var1.isConnected(), "Client must be connected"); r var4 = (r) var1.a(Drive.DQ); this.Pu.iz().setContext(var4.getContext()); int var2; if (this.Pv == null) { var2 = -1; } else { var2 = this.Pv.intValue(); } try { IntentSender var5 = var4.iG() .a(new CreateFileIntentSenderRequest(this.Pu.iz(), var2, this.OH, this.OJ, this.Pw)); return var5; } catch (RemoteException var3) { throw new RuntimeException("Unable to connect Drive Play Service", var3); } }
public PendingResult load(GoogleApiClient googleApiClient, boolean z) { return googleApiClient.a(new AnonymousClass_1(z)); }