Guest User

Untitled

a guest
Apr 23rd, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. method private getScreenAnimationMode(Landroid/content/Context;)I
  2. .registers 7
  3. .parameter "context"
  4.  
  5. .prologue
  6. const v0, 0x0
  7.  
  8. const v3, 0x1
  9.  
  10. const v4, 0x10
  11.  
  12. invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;
  13.  
  14. move-result-object v1
  15.  
  16. const-string v2, "config_beam_screen_on"
  17.  
  18. invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
  19.  
  20. move-result v2
  21.  
  22. if-eqz v2, :cond_22
  23.  
  24. const v0, 0x1
  25.  
  26. :goto_18
  27. const-string v2, "config_beam_screen_off"
  28.  
  29. invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I
  30.  
  31. move-result v2
  32.  
  33. if-eqz v2, :cond_21
  34.  
  35. add-int/2addr v0, v4
  36.  
  37. :cond_21
  38. return v0
  39.  
  40. :cond_22
  41. const v0, 0x0
  42.  
  43. goto :goto_18
  44. .end method
Add Comment
Please, Sign In to add comment