153 lines
3.8 KiB
Smali
153 lines
3.8 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzcxa;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.android.gms:play-services-ads@@19.1.0"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/internal/ads/zzdak;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/google/android/gms/internal/ads/zzdak<",
|
|
"Lcom/google/android/gms/internal/ads/zzcwx;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final zzfur:Lcom/google/android/gms/internal/ads/zzdrh;
|
|
|
|
.field private final zzvf:Landroid/content/Context;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/internal/ads/zzdrh;Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 2
|
|
iput-object p1, p0, Lcom/google/android/gms/internal/ads/zzcxa;->zzfur:Lcom/google/android/gms/internal/ads/zzdrh;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/ads/zzcxa;->zzvf:Landroid/content/Context;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zzaqa()Lcom/google/android/gms/internal/ads/zzdri;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/google/android/gms/internal/ads/zzdri<",
|
|
"Lcom/google/android/gms/internal/ads/zzcwx;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzcxa;->zzfur:Lcom/google/android/gms/internal/ads/zzdrh;
|
|
|
|
new-instance v1, Lcom/google/android/gms/internal/ads/zzcwz;
|
|
|
|
invoke-direct {v1, p0}, Lcom/google/android/gms/internal/ads/zzcwz;-><init>(Lcom/google/android/gms/internal/ads/zzcxa;)V
|
|
|
|
invoke-interface {v0, v1}, Lcom/google/android/gms/internal/ads/zzdrh;->zzd(Ljava/util/concurrent/Callable;)Lcom/google/android/gms/internal/ads/zzdri;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final synthetic zzaqf()Lcom/google/android/gms/internal/ads/zzcwx;
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v0, Landroid/content/IntentFilter;
|
|
|
|
const-string v1, "android.intent.action.BATTERY_CHANGED"
|
|
|
|
invoke-direct {v0, v1}, Landroid/content/IntentFilter;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 2
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzcxa;->zzvf:Landroid/content/Context;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/content/Context;->registerReceiver(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;
|
|
|
|
move-result-object v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v2, "status"
|
|
|
|
const/4 v3, -0x1
|
|
|
|
.line 3
|
|
invoke-virtual {v0, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
const-string v4, "level"
|
|
|
|
.line 4
|
|
invoke-virtual {v0, v4, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
|
|
|
|
move-result v4
|
|
|
|
const-string v5, "scale"
|
|
|
|
.line 5
|
|
invoke-virtual {v0, v5, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I
|
|
|
|
move-result v0
|
|
|
|
int-to-double v3, v4
|
|
|
|
int-to-double v5, v0
|
|
|
|
div-double/2addr v3, v5
|
|
|
|
const/4 v0, 0x2
|
|
|
|
if-eq v2, v0, :cond_0
|
|
|
|
const/4 v0, 0x5
|
|
|
|
if-ne v2, v0, :cond_2
|
|
|
|
:cond_0
|
|
const/4 v0, 0x1
|
|
|
|
move v1, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const-wide/high16 v3, -0x4010000000000000L # -1.0
|
|
|
|
.line 6
|
|
:cond_2
|
|
:goto_0
|
|
new-instance v0, Lcom/google/android/gms/internal/ads/zzcwx;
|
|
|
|
invoke-direct {v0, v3, v4, v1}, Lcom/google/android/gms/internal/ads/zzcwx;-><init>(DZ)V
|
|
|
|
return-object v0
|
|
.end method
|