hq$a.java 1.48 KB
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import com.google.android.gms.common.ConnectionResult;
import com.google.android.gms.internal.zzaav;
import com.google.android.gms.internal.zzabc.zza;
import java.util.concurrent.locks.Lock;

final class hq$a
  implements zzabc.zza
{
  private hq$a(hq paramhq) {}
  
  public final void zzc(int paramInt, boolean paramBoolean)
  {
    hq.a(this.a).lock();
    try
    {
      if ((hq.c(this.a)) || (hq.d(this.a) == null) || (!hq.d(this.a).isSuccess()))
      {
        hq.a(this.a, false);
        hq.a(this.a, paramInt, paramBoolean);
        return;
      }
      hq.a(this.a, true);
      hq.e(this.a).onConnectionSuspended(paramInt);
      return;
    }
    finally
    {
      hq.a(this.a).unlock();
    }
  }
  
  public final void zzc(@NonNull ConnectionResult paramConnectionResult)
  {
    hq.a(this.a).lock();
    try
    {
      hq.a(this.a, paramConnectionResult);
      hq.b(this.a);
      return;
    }
    finally
    {
      hq.a(this.a).unlock();
    }
  }
  
  public final void zzo(@Nullable Bundle paramBundle)
  {
    hq.a(this.a).lock();
    try
    {
      hq.a(this.a, paramBundle);
      hq.a(this.a, ConnectionResult.zzayj);
      hq.b(this.a);
      return;
    }
    finally
    {
      hq.a(this.a).unlock();
    }
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/hq$a.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */