133 lines
3.7 KiB
Smali
133 lines
3.7 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzdav;
|
|
.super Ljava/lang/Object;
|
|
.source "com.google.android.gms:play-services-ads@@19.1.0"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/internal/ads/zzdah;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Object;",
|
|
"Lcom/google/android/gms/internal/ads/zzdah<",
|
|
"Lorg/json/JSONObject;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final zzgoy:Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
.field private final zzgoz:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;Ljava/lang/String;)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/zzdav;->zzgoy:Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
.line 3
|
|
iput-object p2, p0, Lcom/google/android/gms/internal/ads/zzdav;->zzgoz:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final synthetic zzs(Ljava/lang/Object;)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
check-cast p1, Lorg/json/JSONObject;
|
|
|
|
:try_start_0
|
|
const-string v0, "pii"
|
|
|
|
.line 2
|
|
invoke-static {p1, v0}, Lcom/google/android/gms/internal/ads/zzayu;->zzb(Lorg/json/JSONObject;Ljava/lang/String;)Lorg/json/JSONObject;
|
|
|
|
move-result-object p1
|
|
|
|
.line 3
|
|
iget-object v0, p0, Lcom/google/android/gms/internal/ads/zzdav;->zzgoy:Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {v0}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->getId()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const-string v0, "rdid"
|
|
|
|
.line 4
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzdav;->zzgoy:Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
invoke-virtual {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->getId()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v0, "is_lat"
|
|
|
|
.line 5
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzdav;->zzgoy:Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
|
|
|
|
invoke-virtual {v1}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->isLimitAdTrackingEnabled()Z
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Z)Lorg/json/JSONObject;
|
|
|
|
const-string v0, "idtype"
|
|
|
|
const-string v1, "adid"
|
|
|
|
.line 6
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const-string v0, "pdid"
|
|
|
|
.line 7
|
|
iget-object v1, p0, Lcom/google/android/gms/internal/ads/zzdav;->zzgoz:Ljava/lang/String;
|
|
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
const-string v0, "pdidtype"
|
|
|
|
const-string v1, "ssaid"
|
|
|
|
.line 8
|
|
invoke-virtual {p1, v0, v1}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const-string v0, "Failed putting Ad ID."
|
|
|
|
.line 9
|
|
invoke-static {v0, p1}, Lcom/google/android/gms/internal/ads/zzawr;->zza(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
return-void
|
|
.end method
|