v.smali
.class public final Lcom/baidu/techain/l/v;
.super Ljava/lang/Object;
.source "TrafficStatsUtils.java"
# direct methods
.method public static a()V
.registers 2
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
.prologue
.line 14
:try_start_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0xf
if-lt v0, v1, :cond_c
.line 15
const v0, 0x26000
invoke-static {v0}, Landroid/net/TrafficStats;->setThreadStatsTag(I)V
:try_end_c
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_c} :catch_d
.line 21
:cond_c
:goto_c
return-void
.line 18
:catch_d
move-exception v0
invoke-static {}, Lcom/baidu/techain/l/d;->a()V
goto :goto_c
.end method
.method public static b()V
.registers 2
.annotation build Landroid/annotation/SuppressLint;
value = {
"NewApi"
}
.end annotation
.prologue
.line 26
:try_start_0
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
const/16 v1, 0xf
if-lt v0, v1, :cond_9
.line 27
invoke-static {}, Landroid/net/TrafficStats;->clearThreadStatsTag()V
:try_end_9
.catch Ljava/lang/Throwable; {:try_start_0 .. :try_end_9} :catch_a
.line 33
:cond_9
:goto_9
return-void
.line 30
:catch_a
move-exception v0
invoke-static {}, Lcom/baidu/techain/l/d;->a()V
goto :goto_9
.end method