v.java 1.96 KB
package com.instabug.library;

import android.content.Context;
import android.content.Intent;
import android.net.Uri;
import android.support.annotation.Nullable;
import android.support.v4.content.LocalBroadcastManager;
import com.instabug.library.internal.d.a;
import com.instabug.library.model.d;
import com.instabug.library.model.e;
import com.instabug.library.model.e.a;
import java.io.File;

public class v
{
  private static v a = new v();
  private d b;
  private boolean c;
  private OnSdkDismissedCallback.IssueState d = null;
  
  protected static v a()
  {
    return a;
  }
  
  protected void a(Context paramContext)
  {
    LocalBroadcastManager.getInstance(paramContext).sendBroadcast(new Intent("refresh.attachments"));
  }
  
  protected void a(Context paramContext, Uri paramUri)
  {
    a(paramContext, paramUri, e.a.b, null);
  }
  
  protected void a(Context paramContext, Uri paramUri, e.a parama, @Nullable String paramString)
  {
    paramUri = a.a(paramContext, paramUri, paramString);
    b().a(paramUri, parama);
    a(paramContext);
  }
  
  public void a(OnSdkDismissedCallback.IssueState paramIssueState)
  {
    this.d = paramIssueState;
  }
  
  public void a(d paramd)
  {
    this.b = paramd;
    this.c = false;
    this.d = OnSdkDismissedCallback.IssueState.IN_PROGRESS;
  }
  
  protected void a(e parame)
  {
    new File(parame.e()).delete();
  }
  
  public void a(boolean paramBoolean)
  {
    this.c = paramBoolean;
  }
  
  protected d b()
  {
    return this.b;
  }
  
  protected void b(Context paramContext, Uri paramUri)
  {
    a().b().a(paramUri, e.a.c);
    a(paramContext);
  }
  
  protected void c()
  {
    a(new d(System.currentTimeMillis()));
  }
  
  public OnSdkDismissedCallback.IssueState d()
  {
    return this.d;
  }
  
  public boolean e()
  {
    return this.c;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/v.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */