反汇编中未初始化的静态最终字段

时间:2014-03-15 10:05:27

标签: android smali

怎么可能? R $ styleable.smali:

...
# static fields
.field public static final CallForwardEditPreference:[I = null
.field public static final CallForwardEditPreference_reason:I = 0x1
.field public static final CallForwardEditPreference_serviceClass:I = 0x0
.field public static final EditPhoneNumberPreference:[I = null
.field public static final EditPhoneNumberPreference_changeNumButtonText:I = 0x2
.field public static final EditPhoneNumberPreference_confirmMode:I = 0x3
.field public static final EditPhoneNumberPreference_disableButtonText:I = 0x1

.field public static final EditPhoneNumberPreference_enableButtonText:I

# direct methods
...

此文件或其他文件中没有出现EditPhoneNumberPreference_enableButtonText

1 个答案:

答案 0 :(得分:1)

未初始化的字段实际上已初始化为该类型的默认null / 0值。