LauncherActivity$LaunchHandler.smali 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. .class Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler;
  2. .super Landroid/os/Handler;
  3. .source "LauncherActivity.java"
  4. # annotations
  5. .annotation system Ldalvik/annotation/EnclosingClass;
  6. value = Lcom/jmhy/sdk/template/LauncherActivity;
  7. .end annotation
  8. .annotation system Ldalvik/annotation/InnerClass;
  9. accessFlags = 0xa
  10. name = "LaunchHandler"
  11. .end annotation
  12. # instance fields
  13. .field reference:Ljava/lang/ref/WeakReference;
  14. .annotation system Ldalvik/annotation/Signature;
  15. value = {
  16. "Ljava/lang/ref/WeakReference<",
  17. "Lcom/jmhy/sdk/template/LauncherActivity;",
  18. ">;"
  19. }
  20. .end annotation
  21. .end field
  22. # direct methods
  23. .method constructor <init>(Lcom/jmhy/sdk/template/LauncherActivity;)V
  24. .locals 1
  25. .line 36
  26. invoke-direct {p0}, Landroid/os/Handler;-><init>()V
  27. .line 37
  28. new-instance v0, Ljava/lang/ref/WeakReference;
  29. invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
  30. iput-object v0, p0, Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler;->reference:Ljava/lang/ref/WeakReference;
  31. return-void
  32. .end method
  33. # virtual methods
  34. .method public handleMessage(Landroid/os/Message;)V
  35. .locals 2
  36. .line 42
  37. iget-object v0, p0, Lcom/jmhy/sdk/template/LauncherActivity$LaunchHandler;->reference:Ljava/lang/ref/WeakReference;
  38. invoke-virtual {v0}, Ljava/lang/ref/WeakReference;->get()Ljava/lang/Object;
  39. move-result-object v0
  40. check-cast v0, Lcom/jmhy/sdk/template/LauncherActivity;
  41. if-nez v0, :cond_0
  42. return-void
  43. .line 47
  44. :cond_0
  45. iget p1, p1, Landroid/os/Message;->what:I
  46. const/4 v1, 0x1
  47. if-eq p1, v1, :cond_1
  48. goto :goto_0
  49. .line 49
  50. :cond_1
  51. invoke-static {v0}, Lcom/jmhy/sdk/template/LauncherActivity;->access$000(Lcom/jmhy/sdk/template/LauncherActivity;)V
  52. :goto_0
  53. return-void
  54. .end method