ResultReceiver$MyResultReceiver.smali 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .class Landroid/support/v4/os/ResultReceiver$MyResultReceiver;
  2. .super Landroid/support/v4/os/IResultReceiver$Stub;
  3. .source "ResultReceiver.java"
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Landroid/support/v4/os/ResultReceiver;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0x0
  10. name = "MyResultReceiver"
  11. .end annotation
  12. # instance fields
  13. .field final synthetic this$0:Landroid/support/v4/os/ResultReceiver;
  14. # direct methods
  15. .method constructor <init>(Landroid/support/v4/os/ResultReceiver;)V
  16. .locals 0
  17. .prologue
  18. .line 60
  19. iput-object p1, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
  20. invoke-direct {p0}, Landroid/support/v4/os/IResultReceiver$Stub;-><init>()V
  21. return-void
  22. .end method
  23. # virtual methods
  24. .method public send(ILandroid/os/Bundle;)V
  25. .locals 3
  26. .param p1, "resultCode" # I
  27. .param p2, "resultData" # Landroid/os/Bundle;
  28. .prologue
  29. .line 62
  30. iget-object v0, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
  31. iget-object v0, v0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
  32. if-eqz v0, :cond_0
  33. .line 63
  34. iget-object v0, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
  35. iget-object v0, v0, Landroid/support/v4/os/ResultReceiver;->mHandler:Landroid/os/Handler;
  36. new-instance v1, Landroid/support/v4/os/ResultReceiver$MyRunnable;
  37. iget-object v2, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
  38. invoke-direct {v1, v2, p1, p2}, Landroid/support/v4/os/ResultReceiver$MyRunnable;-><init>(Landroid/support/v4/os/ResultReceiver;ILandroid/os/Bundle;)V
  39. invoke-virtual {v0, v1}, Landroid/os/Handler;->post(Ljava/lang/Runnable;)Z
  40. .line 67
  41. :goto_0
  42. return-void
  43. .line 65
  44. :cond_0
  45. iget-object v0, p0, Landroid/support/v4/os/ResultReceiver$MyResultReceiver;->this$0:Landroid/support/v4/os/ResultReceiver;
  46. invoke-virtual {v0, p1, p2}, Landroid/support/v4/os/ResultReceiver;->onReceiveResult(ILandroid/os/Bundle;)V
  47. goto :goto_0
  48. .end method