- 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
665 lines
17 KiB
Smali
665 lines
17 KiB
Smali
.class public final Lcom/facebook/appevents/internal/SessionLogger;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static final INACTIVE_SECONDS_QUANTA:[J
|
|
|
|
.field public static final INSTANCE:Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
.field private static final PACKAGE_CHECKSUM:Ljava/lang/String; = "PCKGCHKSUM"
|
|
|
|
.field private static final TAG:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
new-instance v0, Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
invoke-direct {v0}, Lcom/facebook/appevents/internal/SessionLogger;-><init>()V
|
|
|
|
sput-object v0, Lcom/facebook/appevents/internal/SessionLogger;->INSTANCE:Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
const-class v0, Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
.line 28
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getCanonicalName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/facebook/appevents/internal/SessionLogger;->TAG:Ljava/lang/String;
|
|
|
|
const/16 v0, 0x13
|
|
|
|
new-array v0, v0, [J
|
|
|
|
fill-array-data v0, :array_0
|
|
|
|
sput-object v0, Lcom/facebook/appevents/internal/SessionLogger;->INACTIVE_SECONDS_QUANTA:[J
|
|
|
|
return-void
|
|
|
|
nop
|
|
|
|
:array_0
|
|
.array-data 8
|
|
0x493e0
|
|
0xdbba0
|
|
0x1b7740
|
|
0x36ee80
|
|
0x1499700
|
|
0x2932e00
|
|
0x5265c00
|
|
0xa4cb800
|
|
0xf731400
|
|
0x240c8400
|
|
0x48190800
|
|
0x6c258c00
|
|
0x90321000L
|
|
0x134fd9000L
|
|
0x1cf7c5800L
|
|
0x269fb2000L
|
|
0x30479e800L
|
|
0x39ef8b000L
|
|
0x757b12c00L
|
|
.end array-data
|
|
.end method
|
|
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 25
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final computePackageChecksum(Landroid/content/Context;)Ljava/lang/String;
|
|
.locals 8
|
|
|
|
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-object v1
|
|
|
|
.line 122
|
|
:cond_0
|
|
:try_start_0
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object v0
|
|
|
|
.line 123
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
invoke-virtual {v0, v2, v3}, Landroid/content/pm/PackageManager;->getPackageInfo(Ljava/lang/String;I)Landroid/content/pm/PackageInfo;
|
|
|
|
move-result-object v2
|
|
|
|
iget-object v2, v2, Landroid/content/pm/PackageInfo;->versionName:Ljava/lang/String;
|
|
|
|
const-string v4, "PCKGCHKSUM;"
|
|
|
|
.line 124
|
|
invoke-static {v4, v2}, Lkotlin/jvm/internal/Intrinsics;->stringPlus(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
const-string v4, "com.facebook.sdk.appEventPreferences"
|
|
|
|
.line 126
|
|
invoke-virtual {p1, v4, v3}, Landroid/content/Context;->getSharedPreferences(Ljava/lang/String;I)Landroid/content/SharedPreferences;
|
|
|
|
move-result-object v4
|
|
|
|
.line 127
|
|
invoke-interface {v4, v2, v1}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
if-eqz v5, :cond_1
|
|
|
|
.line 128
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
|
|
|
move-result v6
|
|
|
|
const/16 v7, 0x20
|
|
|
|
if-ne v6, v7, :cond_1
|
|
|
|
return-object v5
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 132
|
|
:cond_1
|
|
invoke-static {p1, v1}, Lcom/facebook/appevents/internal/HashUtils;->computeChecksumWithPackageManager(Landroid/content/Context;Ljava/lang/Long;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
if-eqz v5, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
.line 138
|
|
:cond_2
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {v0, p1, v3}, Landroid/content/pm/PackageManager;->getApplicationInfo(Ljava/lang/String;I)Landroid/content/pm/ApplicationInfo;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "pm.getApplicationInfo(context.packageName, 0)"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 139
|
|
iget-object p1, p1, Landroid/content/pm/ApplicationInfo;->sourceDir:Ljava/lang/String;
|
|
|
|
invoke-static {p1}, Lcom/facebook/appevents/internal/HashUtils;->computeChecksum(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
.line 141
|
|
:goto_0
|
|
invoke-interface {v4}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {p1, v2, v5}, 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
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
move-object v1, v5
|
|
|
|
goto :goto_2
|
|
|
|
.line 120
|
|
:goto_1
|
|
invoke-static {p1, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
|
|
|
|
:catch_0
|
|
:goto_2
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public static final getQuantaIndex(J)I
|
|
.locals 6
|
|
|
|
const-class v0, Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
invoke-static {v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return v2
|
|
|
|
:cond_0
|
|
move v1, v2
|
|
|
|
:goto_0
|
|
:try_start_0
|
|
sget-object v3, Lcom/facebook/appevents/internal/SessionLogger;->INACTIVE_SECONDS_QUANTA:[J
|
|
|
|
.line 112
|
|
array-length v4, v3
|
|
|
|
if-ge v1, v4, :cond_1
|
|
|
|
.line 113
|
|
aget-wide v4, v3, v1
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
cmp-long v3, v4, p0
|
|
|
|
if-gez v3, :cond_1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
.line 116
|
|
:goto_1
|
|
invoke-static {p0, v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
|
|
|
|
return v2
|
|
.end method
|
|
|
|
.method public static final logActivateApp(Ljava/lang/String;Lcom/facebook/appevents/internal/SourceApplicationInfo;Ljava/lang/String;Landroid/content/Context;)V
|
|
.locals 3
|
|
|
|
const-class v0, Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
invoke-static {v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
const-string v1, "activityName"
|
|
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v1, "context"
|
|
|
|
invoke-static {p3, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-string v1, "Unclassified"
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 58
|
|
:cond_1
|
|
:try_start_1
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SourceApplicationInfo;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
move-object v1, p1
|
|
|
|
.line 59
|
|
:goto_0
|
|
new-instance p1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {p1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v2, "fb_mobile_launch_source"
|
|
|
|
.line 60
|
|
invoke-virtual {p1, v2, v1}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v1, "fb_mobile_pckg_fp"
|
|
|
|
sget-object v2, Lcom/facebook/appevents/internal/SessionLogger;->INSTANCE:Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
.line 62
|
|
invoke-direct {v2, p3}, Lcom/facebook/appevents/internal/SessionLogger;->computePackageChecksum(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 61
|
|
invoke-virtual {p1, v1, v2}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v1, "fb_mobile_app_cert_hash"
|
|
|
|
.line 63
|
|
invoke-static {p3}, Lcom/facebook/internal/security/CertificateUtil;->getCertificateHash(Landroid/content/Context;)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-virtual {p1, v1, p3}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 64
|
|
sget-object p3, Lcom/facebook/appevents/InternalAppEventsLogger;->Companion:Lcom/facebook/appevents/InternalAppEventsLogger$Companion;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p3, p0, p2, v1}, Lcom/facebook/appevents/InternalAppEventsLogger$Companion;->createInstance(Ljava/lang/String;Ljava/lang/String;Lcom/facebook/AccessToken;)Lcom/facebook/appevents/InternalAppEventsLogger;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p2, "fb_mobile_activate_app"
|
|
|
|
.line 65
|
|
invoke-virtual {p0, p2, p1}, Lcom/facebook/appevents/InternalAppEventsLogger;->logEvent(Ljava/lang/String;Landroid/os/Bundle;)V
|
|
|
|
.line 66
|
|
invoke-virtual {p3}, Lcom/facebook/appevents/InternalAppEventsLogger$Companion;->getFlushBehavior()Lcom/facebook/appevents/AppEventsLogger$FlushBehavior;
|
|
|
|
move-result-object p1
|
|
|
|
sget-object p2, Lcom/facebook/appevents/AppEventsLogger$FlushBehavior;->EXPLICIT_ONLY:Lcom/facebook/appevents/AppEventsLogger$FlushBehavior;
|
|
|
|
if-eq p1, p2, :cond_3
|
|
|
|
.line 67
|
|
invoke-virtual {p0}, Lcom/facebook/appevents/InternalAppEventsLogger;->flush()V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
goto :goto_2
|
|
|
|
:cond_3
|
|
:goto_1
|
|
return-void
|
|
|
|
.line 69
|
|
:goto_2
|
|
invoke-static {p0, v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final logClockSkewEvent()V
|
|
.locals 4
|
|
|
|
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 106
|
|
:cond_0
|
|
:try_start_0
|
|
sget-object v0, Lcom/facebook/internal/Logger;->Companion:Lcom/facebook/internal/Logger$Companion;
|
|
|
|
sget-object v1, Lcom/facebook/LoggingBehavior;->APP_EVENTS:Lcom/facebook/LoggingBehavior;
|
|
|
|
sget-object v2, Lcom/facebook/appevents/internal/SessionLogger;->TAG:Ljava/lang/String;
|
|
|
|
invoke-static {v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;)V
|
|
|
|
const-string v3, "Clock skew detected"
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lcom/facebook/internal/Logger$Companion;->log(Lcom/facebook/LoggingBehavior;Ljava/lang/String;Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
return-void
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 107
|
|
invoke-static {v0, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final logDeactivateApp(Ljava/lang/String;Lcom/facebook/appevents/internal/SessionInfo;Ljava/lang/String;)V
|
|
.locals 13
|
|
|
|
const-class v0, Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
invoke-static {v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
const-string v1, "activityName"
|
|
|
|
invoke-static {p0, v1}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-nez p1, :cond_1
|
|
|
|
return-void
|
|
|
|
.line 77
|
|
:cond_1
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getDiskRestoreTime()Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getSessionLastEventTime()Ljava/lang/Long;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
move-wide v4, v2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v4
|
|
|
|
:goto_0
|
|
sub-long v4, v2, v4
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
goto/16 :goto_4
|
|
|
|
:cond_3
|
|
invoke-virtual {v1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v4
|
|
|
|
:goto_1
|
|
cmp-long v1, v4, v2
|
|
|
|
if-gez v1, :cond_4
|
|
|
|
sget-object v1, Lcom/facebook/appevents/internal/SessionLogger;->INSTANCE:Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
.line 80
|
|
invoke-direct {v1}, Lcom/facebook/appevents/internal/SessionLogger;->logClockSkewEvent()V
|
|
|
|
move-wide v4, v2
|
|
|
|
.line 82
|
|
:cond_4
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getSessionLength()J
|
|
|
|
move-result-wide v6
|
|
|
|
cmp-long v1, v6, v2
|
|
|
|
if-gez v1, :cond_5
|
|
|
|
sget-object v1, Lcom/facebook/appevents/internal/SessionLogger;->INSTANCE:Lcom/facebook/appevents/internal/SessionLogger;
|
|
|
|
.line 84
|
|
invoke-direct {v1}, Lcom/facebook/appevents/internal/SessionLogger;->logClockSkewEvent()V
|
|
|
|
move-wide v6, v2
|
|
|
|
.line 87
|
|
:cond_5
|
|
new-instance v1, Landroid/os/Bundle;
|
|
|
|
invoke-direct {v1}, Landroid/os/Bundle;-><init>()V
|
|
|
|
const-string v8, "fb_mobile_app_interruptions"
|
|
|
|
.line 89
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getInterruptionCount()I
|
|
|
|
move-result v9
|
|
|
|
.line 88
|
|
invoke-virtual {v1, v8, v9}, Landroid/os/BaseBundle;->putInt(Ljava/lang/String;I)V
|
|
|
|
const-string v8, "fb_mobile_time_between_sessions"
|
|
|
|
.line 92
|
|
sget-object v9, Lkotlin/jvm/internal/StringCompanionObject;->INSTANCE:Lkotlin/jvm/internal/StringCompanionObject;
|
|
|
|
sget-object v9, Ljava/util/Locale;->ROOT:Ljava/util/Locale;
|
|
|
|
const-string v10, "session_quanta_%d"
|
|
|
|
const/4 v11, 0x1
|
|
|
|
new-array v12, v11, [Ljava/lang/Object;
|
|
|
|
invoke-static {v4, v5}, Lcom/facebook/appevents/internal/SessionLogger;->getQuantaIndex(J)I
|
|
|
|
move-result v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
const/4 v5, 0x0
|
|
|
|
aput-object v4, v12, v5
|
|
|
|
invoke-static {v12, v11}, Ljava/util/Arrays;->copyOf([Ljava/lang/Object;I)[Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v9, v10, v4}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "java.lang.String.format(locale, format, *args)"
|
|
|
|
invoke-static {v4, v5}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 90
|
|
invoke-virtual {v1, v8, v4}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 93
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getSourceApplicationInfo()Lcom/facebook/appevents/internal/SourceApplicationInfo;
|
|
|
|
move-result-object v4
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
const-string v5, "Unclassified"
|
|
|
|
if-nez v4, :cond_6
|
|
|
|
goto :goto_2
|
|
|
|
.line 94
|
|
:cond_6
|
|
:try_start_1
|
|
invoke-virtual {v4}, Lcom/facebook/appevents/internal/SourceApplicationInfo;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
if-nez v4, :cond_7
|
|
|
|
goto :goto_2
|
|
|
|
:cond_7
|
|
move-object v5, v4
|
|
|
|
:goto_2
|
|
const-string v4, "fb_mobile_launch_source"
|
|
|
|
.line 95
|
|
invoke-virtual {v1, v4, v5}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
const-string v4, "_logTime"
|
|
|
|
.line 97
|
|
invoke-virtual {p1}, Lcom/facebook/appevents/internal/SessionInfo;->getSessionLastEventTime()Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
if-nez p1, :cond_8
|
|
|
|
goto :goto_3
|
|
|
|
:cond_8
|
|
invoke-virtual {p1}, Ljava/lang/Long;->longValue()J
|
|
|
|
move-result-wide v2
|
|
|
|
:goto_3
|
|
const/16 p1, 0x3e8
|
|
|
|
int-to-long v8, p1
|
|
|
|
div-long/2addr v2, v8
|
|
|
|
.line 96
|
|
invoke-virtual {v1, v4, v2, v3}, Landroid/os/BaseBundle;->putLong(Ljava/lang/String;J)V
|
|
|
|
.line 98
|
|
sget-object p1, Lcom/facebook/appevents/InternalAppEventsLogger;->Companion:Lcom/facebook/appevents/InternalAppEventsLogger$Companion;
|
|
|
|
const/4 v2, 0x0
|
|
|
|
invoke-virtual {p1, p0, p2, v2}, Lcom/facebook/appevents/InternalAppEventsLogger$Companion;->createInstance(Ljava/lang/String;Ljava/lang/String;Lcom/facebook/AccessToken;)Lcom/facebook/appevents/InternalAppEventsLogger;
|
|
|
|
move-result-object p0
|
|
|
|
const-string p1, "fb_mobile_deactivate_app"
|
|
|
|
long-to-double v2, v6
|
|
|
|
const-wide/16 v4, 0x3e8
|
|
|
|
long-to-double v4, v4
|
|
|
|
div-double/2addr v2, v4
|
|
|
|
.line 99
|
|
invoke-virtual {p0, p1, v2, v3, v1}, Lcom/facebook/appevents/InternalAppEventsLogger;->logEvent(Ljava/lang/String;DLandroid/os/Bundle;)V
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
return-void
|
|
|
|
.line 103
|
|
:goto_4
|
|
invoke-static {p0, v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|