- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
801 lines
23 KiB
Smali
801 lines
23 KiB
Smali
.class public Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$BackoffMetadata;,
|
|
Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$RealtimeBackoffMetadata;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final LAST_FETCH_TIME_NO_FETCH_YET:Ljava/util/Date;
|
|
|
|
.field public static final NO_BACKOFF_TIME:Ljava/util/Date;
|
|
|
|
|
|
# instance fields
|
|
.field public final backoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.field public final frcInfoLock:Ljava/lang/Object;
|
|
|
|
.field public final frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.field public final realtimeBackoffMetadataLock:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 54
|
|
new-instance v0, Ljava/util/Date;
|
|
|
|
const-wide/16 v1, -0x1
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V
|
|
|
|
sput-object v0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->LAST_FETCH_TIME_NO_FETCH_YET:Ljava/util/Date;
|
|
|
|
.line 59
|
|
new-instance v0, Ljava/util/Date;
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V
|
|
|
|
sput-object v0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->NO_BACKOFF_TIME:Ljava/util/Date;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/SharedPreferences;)V
|
|
.locals 0
|
|
|
|
.line 84
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 86
|
|
new-instance p1, Ljava/lang/Object;
|
|
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 87
|
|
new-instance p1, Ljava/lang/Object;
|
|
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->backoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.line 88
|
|
new-instance p1, Ljava/lang/Object;
|
|
|
|
invoke-direct {p1}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->realtimeBackoffMetadataLock:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getBackoffMetadata()Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$BackoffMetadata;
|
|
.locals 8
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->backoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.line 235
|
|
monitor-enter v0
|
|
|
|
.line 236
|
|
:try_start_0
|
|
new-instance v1, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$BackoffMetadata;
|
|
|
|
iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v3, "num_failed_fetches"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 237
|
|
invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
new-instance v3, Ljava/util/Date;
|
|
|
|
iget-object v4, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v5, "backoff_end_time_in_millis"
|
|
|
|
const-wide/16 v6, -0x1
|
|
|
|
.line 238
|
|
invoke-interface {v4, v5, v6, v7}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-direct {v3, v4, v5}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-direct {v1, v2, v3}, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$BackoffMetadata;-><init>(ILjava/util/Date;)V
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 239
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public getFetchTimeoutInSeconds()J
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v1, "fetch_timeout_in_seconds"
|
|
|
|
const-wide/16 v2, 0x3c
|
|
|
|
.line 92
|
|
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getInfo()Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigInfo;
|
|
.locals 9
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 123
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v2, "last_fetch_time_in_millis"
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
.line 125
|
|
invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v1
|
|
|
|
iget-object v3, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v4, "last_fetch_status"
|
|
|
|
const/4 v5, 0x0
|
|
|
|
.line 129
|
|
invoke-interface {v3, v4, v5}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v3
|
|
|
|
.line 131
|
|
new-instance v4, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;
|
|
|
|
invoke-direct {v4}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;-><init>()V
|
|
|
|
iget-object v5, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v6, "fetch_timeout_in_seconds"
|
|
|
|
const-wide/16 v7, 0x3c
|
|
|
|
.line 134
|
|
invoke-interface {v5, v6, v7, v8}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v5
|
|
|
|
.line 133
|
|
invoke-virtual {v4, v5, v6}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;->setFetchTimeoutInSeconds(J)Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;
|
|
|
|
move-result-object v4
|
|
|
|
iget-object v5, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v6, "minimum_fetch_interval_in_seconds"
|
|
|
|
sget-wide v7, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHandler;->DEFAULT_MINIMUM_FETCH_INTERVAL_IN_SECONDS:J
|
|
|
|
.line 136
|
|
invoke-interface {v5, v6, v7, v8}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v5
|
|
|
|
.line 135
|
|
invoke-virtual {v4, v5, v6}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;->setMinimumFetchIntervalInSeconds(J)Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;
|
|
|
|
move-result-object v4
|
|
|
|
.line 139
|
|
invoke-virtual {v4}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings$Builder;->build()Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings;
|
|
|
|
move-result-object v4
|
|
|
|
.line 141
|
|
invoke-static {}, Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl;->newBuilder()Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;
|
|
|
|
move-result-object v5
|
|
|
|
.line 142
|
|
invoke-virtual {v5, v3}, Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;->withLastFetchStatus(I)Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;
|
|
|
|
move-result-object v3
|
|
|
|
.line 143
|
|
invoke-virtual {v3, v1, v2}, Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;->withLastSuccessfulFetchTimeInMillis(J)Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;
|
|
|
|
move-result-object v1
|
|
|
|
.line 144
|
|
invoke-virtual {v1, v4}, Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;->withConfigSettings(Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings;)Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;
|
|
|
|
move-result-object v1
|
|
|
|
.line 145
|
|
invoke-virtual {v1}, Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl$Builder;->build()Lcom/google/firebase/remoteconfig/internal/FirebaseRemoteConfigInfoImpl;
|
|
|
|
move-result-object v1
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 146
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public getLastFetchETag()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v1, "last_fetch_etag"
|
|
|
|
const/4 v2, 0x0
|
|
|
|
.line 113
|
|
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLastSuccessfulFetchTime()Ljava/util/Date;
|
|
.locals 5
|
|
|
|
.line 106
|
|
new-instance v0, Ljava/util/Date;
|
|
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v2, "last_fetch_time_in_millis"
|
|
|
|
const-wide/16 v3, -0x1
|
|
|
|
.line 107
|
|
invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v1
|
|
|
|
invoke-direct {v0, v1, v2}, Ljava/util/Date;-><init>(J)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getLastTemplateVersion()J
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v1, "last_template_version"
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
.line 117
|
|
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getMinimumFetchIntervalInSeconds()J
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v1, "minimum_fetch_interval_in_seconds"
|
|
|
|
.line 96
|
|
sget-wide v2, Lcom/google/firebase/remoteconfig/internal/ConfigFetchHandler;->DEFAULT_MINIMUM_FETCH_INTERVAL_IN_SECONDS:J
|
|
|
|
invoke-interface {v0, v1, v2, v3}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v0
|
|
|
|
return-wide v0
|
|
.end method
|
|
|
|
.method public getRealtimeBackoffMetadata()Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$RealtimeBackoffMetadata;
|
|
.locals 8
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->realtimeBackoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.line 287
|
|
monitor-enter v0
|
|
|
|
.line 288
|
|
:try_start_0
|
|
new-instance v1, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$RealtimeBackoffMetadata;
|
|
|
|
iget-object v2, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v3, "num_failed_realtime_streams"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
.line 289
|
|
invoke-interface {v2, v3, v4}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I
|
|
|
|
move-result v2
|
|
|
|
new-instance v3, Ljava/util/Date;
|
|
|
|
iget-object v4, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
const-string v5, "realtime_backoff_end_time_in_millis"
|
|
|
|
const-wide/16 v6, -0x1
|
|
|
|
.line 291
|
|
invoke-interface {v4, v5, v6, v7}, Landroid/content/SharedPreferences;->getLong(Ljava/lang/String;J)J
|
|
|
|
move-result-wide v4
|
|
|
|
invoke-direct {v3, v4, v5}, Ljava/util/Date;-><init>(J)V
|
|
|
|
invoke-direct {v1, v2, v3}, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient$RealtimeBackoffMetadata;-><init>(ILjava/util/Date;)V
|
|
|
|
monitor-exit v0
|
|
|
|
return-object v1
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
.line 293
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public resetBackoff()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
sget-object v1, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->NO_BACKOFF_TIME:Ljava/util/Date;
|
|
|
|
.line 253
|
|
invoke-virtual {p0, v0, v1}, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->setBackoffMetadata(ILjava/util/Date;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public resetRealtimeBackoff()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
sget-object v1, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->NO_BACKOFF_TIME:Ljava/util/Date;
|
|
|
|
.line 307
|
|
invoke-virtual {p0, v0, v1}, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->setRealtimeBackoffMetadata(ILjava/util/Date;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setBackoffMetadata(ILjava/util/Date;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->backoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.line 243
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 245
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "num_failed_fetches"
|
|
|
|
.line 246
|
|
invoke-interface {v1, v2, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "backoff_end_time_in_millis"
|
|
|
|
.line 247
|
|
invoke-virtual {p2}, Ljava/util/Date;->getTime()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-interface {p1, v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
.line 248
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 249
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setConfigSettings(Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings;)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 169
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 171
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "fetch_timeout_in_seconds"
|
|
|
|
.line 172
|
|
invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings;->getFetchTimeoutInSeconds()J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "minimum_fetch_interval_in_seconds"
|
|
|
|
.line 174
|
|
invoke-virtual {p1}, Lcom/google/firebase/remoteconfig/FirebaseRemoteConfigSettings;->getMinimumFetchIntervalInSeconds()J
|
|
|
|
move-result-wide v3
|
|
|
|
.line 173
|
|
invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
.line 175
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->commit()Z
|
|
|
|
.line 176
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setLastFetchETag(Ljava/lang/String;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 219
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 220
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_fetch_etag"
|
|
|
|
invoke-interface {v1, v2, p1}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 221
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setLastTemplateVersion(J)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 225
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 226
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_template_version"
|
|
|
|
invoke-interface {v1, v2, p1, p2}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 227
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public setRealtimeBackoffMetadata(ILjava/util/Date;)V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->realtimeBackoffMetadataLock:Ljava/lang/Object;
|
|
|
|
.line 297
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 299
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "num_failed_realtime_streams"
|
|
|
|
.line 300
|
|
invoke-interface {v1, v2, p1}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v1, "realtime_backoff_end_time_in_millis"
|
|
|
|
.line 301
|
|
invoke-virtual {p2}, Ljava/util/Date;->getTime()J
|
|
|
|
move-result-wide v2
|
|
|
|
invoke-interface {p1, v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
.line 302
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 303
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public updateLastFetchAsFailed()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 207
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 208
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_fetch_status"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 209
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public updateLastFetchAsSuccessfulAt(Ljava/util/Date;)V
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 197
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 199
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_fetch_status"
|
|
|
|
const/4 v3, -0x1
|
|
|
|
.line 200
|
|
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_fetch_time_in_millis"
|
|
|
|
.line 201
|
|
invoke-virtual {p1}, Ljava/util/Date;->getTime()J
|
|
|
|
move-result-wide v3
|
|
|
|
invoke-interface {v1, v2, v3, v4}, Landroid/content/SharedPreferences$Editor;->putLong(Ljava/lang/String;J)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
.line 202
|
|
invoke-interface {p1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 203
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public updateLastFetchAsThrottled()V
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcInfoLock:Ljava/lang/Object;
|
|
|
|
.line 213
|
|
monitor-enter v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/google/firebase/remoteconfig/internal/ConfigMetadataClient;->frcMetadata:Landroid/content/SharedPreferences;
|
|
|
|
.line 214
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "last_fetch_status"
|
|
|
|
const/4 v3, 0x2
|
|
|
|
invoke-interface {v1, v2, v3}, Landroid/content/SharedPreferences$Editor;->putInt(Ljava/lang/String;I)Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v1}, Landroid/content/SharedPreferences$Editor;->apply()V
|
|
|
|
.line 215
|
|
monitor-exit v0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v1
|
|
|
|
monitor-exit v0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v1
|
|
.end method
|