You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
91 lines
2.5 KiB
91 lines
2.5 KiB
.class Lcom/facebook/AccessTokenTracker$CurrentAccessTokenBroadcastReceiver; |
|
.super Landroid/content/BroadcastReceiver; |
|
.source "AccessTokenTracker.java" |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingClass; |
|
value = Lcom/facebook/AccessTokenTracker; |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x2 |
|
name = "CurrentAccessTokenBroadcastReceiver" |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/facebook/AccessTokenTracker; |
|
|
|
|
|
# direct methods |
|
.method private constructor <init>(Lcom/facebook/AccessTokenTracker;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 97 |
|
iput-object p1, p0, Lcom/facebook/AccessTokenTracker$CurrentAccessTokenBroadcastReceiver;->this$0:Lcom/facebook/AccessTokenTracker; |
|
|
|
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
.method synthetic constructor <init>(Lcom/facebook/AccessTokenTracker;Lcom/facebook/AccessTokenTracker$1;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 97 |
|
invoke-direct {p0, p1}, Lcom/facebook/AccessTokenTracker$CurrentAccessTokenBroadcastReceiver;-><init>(Lcom/facebook/AccessTokenTracker;)V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V |
|
.locals 3 |
|
|
|
.prologue |
|
.line 100 |
|
const-string v0, "com.facebook.sdk.ACTION_CURRENT_ACCESS_TOKEN_CHANGED" |
|
|
|
invoke-virtual {p2}, Landroid/content/Intent;->getAction()Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z |
|
|
|
move-result v0 |
|
|
|
if-eqz v0, :cond_0 |
|
|
|
.line 102 |
|
const-string v0, "com.facebook.sdk.EXTRA_OLD_ACCESS_TOKEN" |
|
|
|
.line 103 |
|
invoke-virtual {p2, v0}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable; |
|
|
|
move-result-object v0 |
|
|
|
check-cast v0, Lcom/facebook/AccessToken; |
|
|
|
.line 104 |
|
const-string v1, "com.facebook.sdk.EXTRA_NEW_ACCESS_TOKEN" |
|
|
|
.line 105 |
|
invoke-virtual {p2, v1}, Landroid/content/Intent;->getParcelableExtra(Ljava/lang/String;)Landroid/os/Parcelable; |
|
|
|
move-result-object v1 |
|
|
|
check-cast v1, Lcom/facebook/AccessToken; |
|
|
|
.line 107 |
|
iget-object v2, p0, Lcom/facebook/AccessTokenTracker$CurrentAccessTokenBroadcastReceiver;->this$0:Lcom/facebook/AccessTokenTracker; |
|
|
|
invoke-virtual {v2, v0, v1}, Lcom/facebook/AccessTokenTracker;->onCurrentAccessTokenChanged(Lcom/facebook/AccessToken;Lcom/facebook/AccessToken;)V |
|
|
|
.line 109 |
|
:cond_0 |
|
return-void |
|
.end method
|
|
|