Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .method private setMessageSkinToBody()V
- .locals 3
- .prologue
- .line 7493
- invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getApplicationContext()Landroid/content/Context;
- move-result-object v0
- invoke-static {v0}, Lcom/android/mms/ui/MessagingPreferenceActivity;->getMessageSkin(Landroid/content/Context;)I
- move-result v0
- .line 7494
- invoke-virtual {p0}, Lcom/android/mms/ui/ComposeMessageActivity;->getResources()Landroid/content/res/Resources;
- move-result-object v1
- invoke-virtual {v1}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
- move-result-object v1
- iget v1, v1, Landroid/content/res/Configuration;->orientation:I
- const/4 v2, 0x2
- if-ne v1, v2, :cond_0
- const/4 v1, 0x1
- .line 7496
- :goto_0
- packed-switch v0, :pswitch_data_0
- .line 7517
- :goto_1
- return-void
- .line 7494
- :cond_0
- const/4 v1, 0x0
- goto :goto_0
- .line 7499
- :pswitch_0
- iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
- if-eqz v1, :cond_1
- const v1, 0x7f020181
- :goto_2
- invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
- goto :goto_1
- :cond_1
- const v1, 0x7f020180
- goto :goto_2
- .line 7503
- :pswitch_1
- iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
- if-eqz v1, :cond_2
- const v1, 0x7f020183
- :goto_3
- invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
- goto :goto_1
- :cond_2
- const v1, 0x7f020182
- goto :goto_3
- .line 7507
- :pswitch_2
- iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
- if-eqz v1, :cond_3
- const v1, 0x7f020185
- :goto_4
- invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
- goto :goto_1
- :cond_3
- const v1, 0x7f020184
- goto :goto_4
- .line 7511
- :pswitch_3
- iget-object v0, p0, Lcom/android/mms/ui/ComposeMessageActivity;->mMsgListView:Lcom/android/mms/ui/MessageListView;
- if-eqz v1, :cond_4
- const v1, 0x7f020187
- :goto_5
- invoke-virtual {v0, v1}, Lcom/android/mms/ui/MessageListView;->setBackgroundResource(I)V
- goto :goto_1
- :cond_4
- const v1, 0x7f020186
- goto :goto_5
- .line 7496
- :pswitch_data_0
- .packed-switch 0x1
- :pswitch_0
- :pswitch_1
- :pswitch_2
- :pswitch_3
- .end packed-switch
- .end method
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement