87 lines
2.1 KiB
Smali
87 lines
2.1 KiB
Smali
.class public Le/h/a/c/f;
|
|
.super Ljava/lang/Object;
|
|
.source "AnswersFilesManagerProvider.java"
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Landroid/content/Context;
|
|
|
|
.field public final b:Lq/a/a/a/p/f/a;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;Lq/a/a/a/p/f/a;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Le/h/a/c/f;->a:Landroid/content/Context;
|
|
|
|
iput-object p2, p0, Le/h/a/c/f;->b:Lq/a/a/a/p/f/a;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Le/h/a/c/z;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
invoke-static {}, Landroid/os/Looper;->myLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {}, Landroid/os/Looper;->getMainLooper()Landroid/os/Looper;
|
|
|
|
move-result-object v1
|
|
|
|
if-eq v0, v1, :cond_0
|
|
|
|
new-instance v0, Le/h/a/c/f0;
|
|
|
|
invoke-direct {v0}, Le/h/a/c/f0;-><init>()V
|
|
|
|
new-instance v1, Lq/a/a/a/p/b/v;
|
|
|
|
invoke-direct {v1}, Lq/a/a/a/p/b/v;-><init>()V
|
|
|
|
iget-object v2, p0, Le/h/a/c/f;->b:Lq/a/a/a/p/f/a;
|
|
|
|
check-cast v2, Lq/a/a/a/p/f/b;
|
|
|
|
invoke-virtual {v2}, Lq/a/a/a/p/f/b;->a()Ljava/io/File;
|
|
|
|
move-result-object v2
|
|
|
|
new-instance v3, Lq/a/a/a/p/d/g;
|
|
|
|
iget-object v4, p0, Le/h/a/c/f;->a:Landroid/content/Context;
|
|
|
|
const-string v5, "session_analytics.tap"
|
|
|
|
const-string v6, "session_analytics_to_send"
|
|
|
|
invoke-direct {v3, v4, v2, v5, v6}, Lq/a/a/a/p/d/g;-><init>(Landroid/content/Context;Ljava/io/File;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
new-instance v2, Le/h/a/c/z;
|
|
|
|
iget-object v4, p0, Le/h/a/c/f;->a:Landroid/content/Context;
|
|
|
|
invoke-direct {v2, v4, v0, v1, v3}, Le/h/a/c/z;-><init>(Landroid/content/Context;Le/h/a/c/f0;Lq/a/a/a/p/b/v;Lq/a/a/a/p/d/h;)V
|
|
|
|
return-object v2
|
|
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v1, "AnswersFilesManagerProvider cannot be called on the main thread"
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|