riskey95

Mms skin background

May 18th, 2013
571
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .method private setMessageSkinToBody()V
  2.     .locals 3
  3.  
  4.     .prologue
  5.     .line 7493
  6.     invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getApplicationContext()Landroid/content/Context;
  7.  
  8.     move-result-object v0
  9.  
  10.     invoke-static {v0}, Lcom/android/mms/ui/MessagingPreferenceActivity;->getMessageSkin(Landroid/content/Context;)I
  11.  
  12.     move-result v0
  13.  
  14.     .line 7494
  15.     invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getResources()Landroid/content/res/Resources;
  16.  
  17.     move-result-object v1
  18.  
  19.     invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
  20.  
  21.     move-result-object v1
  22.  
  23.     iget v1, v1, Landroid/content/res/Configuration;->orientation:I
  24.  
  25.     const/4 v2, 0x2
  26.  
  27.     if-ne v1, v2, :cond_0
  28.  
  29.     const/4 v1, 0x1
  30.  
  31.     .line 7496
  32.     :goto_0
  33.     packed-switch v0, :pswitch_data_0
  34.  
  35.     .line 7517
  36.     :goto_1
  37.     return-void
  38.  
  39.     .line 7494
  40.     :cond_0
  41.     const/4 v1, 0x0
  42.  
  43.     goto :goto_0
  44.  
  45.     .line 7499
  46.     :pswitch_0
  47.     iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
  48.  
  49.     if-eqz v1, :cond_1
  50.  
  51.     const v1, 0x7f020181
  52.  
  53.     :goto_2
  54.     invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
  55.  
  56.     goto :goto_1
  57.  
  58.     :cond_1
  59.     const v1, 0x7f020180
  60.  
  61.     goto :goto_2
  62.  
  63.     .line 7503
  64.     :pswitch_1
  65.     iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
  66.  
  67.     if-eqz v1, :cond_2
  68.  
  69.     const v1, 0x7f020183
  70.  
  71.     :goto_3
  72.     invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
  73.  
  74.     goto :goto_1
  75.  
  76.     :cond_2
  77.     const v1, 0x7f020182
  78.  
  79.     goto :goto_3
  80.  
  81.     .line 7507
  82.     :pswitch_2
  83.     iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
  84.  
  85.     if-eqz v1, :cond_3
  86.  
  87.     const v1, 0x7f020185
  88.  
  89.     :goto_4
  90.     invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
  91.  
  92.     goto :goto_1
  93.  
  94.     :cond_3
  95.     const v1, 0x7f020184
  96.  
  97.     goto :goto_4
  98.  
  99.     .line 7511
  100.     :pswitch_3
  101.     iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
  102.  
  103.     if-eqz v1, :cond_4
  104.  
  105.     const v1, 0x7f020187
  106.  
  107.     :goto_5
  108.     invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
  109.  
  110.     goto :goto_1
  111.  
  112.     :cond_4
  113.     const v1, 0x7f020186
  114.  
  115.     goto :goto_5
  116.  
  117.     .line 7496
  118.     :pswitch_data_0
  119.     .packed-switch 0x1
  120.         :pswitch_0
  121.         :pswitch_1
  122.         :pswitch_2
  123.         :pswitch_3
  124.     .end packed-switch
  125. .end method
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×