本站长期提供ROM下载,可以定制多国语言刷机包和和刷机方案。点击这里给我发消息

安卓4.0归属地添加教程及运营商判断

ROM相关 半夏月 442℃ 0评论

安卓4.0归属地添加教程及运营商判断,感谢大家支持几天带给大家的是安卓4.0归属地添加教程。希望大家用的到。

将const v4, 0x7f0c03e3替换为const v4, 0x7f0c03e2
在.method private setSideMargins(Landroid/view/ViewGroup;I)V与.end method之间添加
.method private updateCallTypeLabel(Lcom/android/internal/telephony/Call;)V
.locals 3
.parameter “call”

.prologue
const/4 v1, 0x0

.line 1879
if-eqz p1, :cond_0

invoke-virtual {p1}, Lcom/android/internal/telephony/Call;->getPhone()Lcom/android/internal/telephony/Phone;

move-result-object v2

invoke-interface {v2}, Lcom/android/internal/telephony/Phone;->getPhoneType()I

move-result v0

.line 1880
.local v0, phoneType:I
:goto_0
const/4 v2, 0x3

if-ne v0, v2, :cond_1

.line 1881
iget-object v2, p0, Lcom/android/phone/CallCard;->mCallTypeLabel:Landroid/widget/TextView;

invoke-virtual {v2, v1}, Landroid/widget/TextView;->setVisibility(I)V

.line 1882
iget-object v1, p0, Lcom/android/phone/CallCard;->mCallTypeLabel:Landroid/widget/TextView;

const v2, 0x7f0c01d2

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(I)V

.line 1883
iget-object v1, p0, Lcom/android/phone/CallCard;->mCallTypeLabel:Landroid/widget/TextView;

iget v2, p0, Lcom/android/phone/CallCard;->mTextColorCallTypeSip:I

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setTextColor(I)V

.line 1891
:goto_1
return-void

.end local v0 #phoneType:I
:cond_0
move v0, v1

.line 1879
goto :goto_0

.line 1889
.restart local v0 #phoneType:I
:cond_1
iget-object v1, p0, Lcom/android/phone/CallCard;->mCallTypeLabel:Landroid/widget/TextView;

const/16 v2, 0x8

invoke-virtual {v1, v2}, Landroid/widget/TextView;->setVisibility(I)V

goto :goto_1
.end method

将const v2, 0x7f0c01d3 改为const v2, 0x7f0c01d2
将const v3, 0x7f0c03e3 改为const v3, 0x7f0c03e2
在 invoke-direct {p0, v6, v6, v6}, Lcom/android/phone/CallCard;->updateSocialStatus(Ljava/lang/String;Landroid/graphics/drawable/Drawable;Lcom/android/internal/telephony/Call;)V
与.line 1663之间添加
move-object/from16 v0, p1

invoke-direct {p0, v0}, Lcom/android/phone/CallCard;->setGeoDescription(Lcom/android/internal/telephony/CallerInfo;)V

安卓4.0归属地添加教程就完成了,感谢大家支持。

转载请注明:半夏月 » 安卓4.0归属地添加教程及运营商判断

喜欢 (0)or分享 (0)
发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址