[Galaxy S II Android Development] remuntada78:
trying to solve my switch button style problem i changed the code

sget-object v6, Lcom/android/internal/R$styleable;->Switch:[I

invoke-virtual {p1, p2, v6, p3, v7}, Landroid/content/Context;->obtainStyledAttributes(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;

move-result-object v0
[COLOR="Red"]
invoke-virtual {p1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

move-result-object v1

const-string v2, "switch_button_style"

const/4 v3, 0x0

invoke-static {v1, v2, v3}, Landroid/provider/Settings$System;->getInt(Landroid/content/ContentResolver;Ljava/lang/String;I)I

move-result v1

const v2, 0x1

if-eq v1, v2, :cond_54

const v2, 0x2

if-eq v1, v2, :cond_57

const v2, 0x3

if-eq v1, v2, :cond_new

.line 203
.local v0, a:Landroid/content/res/TypedArray;
const/4 v6, 0x2

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mThumbDrawable:Landroid/graphics/drawable/Drawable;

.line 204
const/4 v6, 0x4

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mTrackDrawable:Landroid/graphics/drawable/Drawable;

goto:goto_switch

:cond_54
.line 203
.local v0, a:Landroid/content/res/TypedArray;
const/4 v6, 0x8

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mThumbDrawable:Landroid/graphics/drawable/Drawable;

.line 204
const/4 v6, 0x9

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mTrackDrawable:Landroid/graphics/drawable/Drawable;

goto:goto_switch

:cond_57
.line 203
.local v0, a:Landroid/content/res/TypedArray;
const/4 v6, 0xa

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mThumbDrawable:Landroid/graphics/drawable/Drawable;

.line 204
const/4 v6, 0xb

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mTrackDrawable:Landroid/graphics/drawable/Drawable;

goto:goto_switch

:cond_new
.line 203
.local v0, a:Landroid/content/res/TypedArray;
const/4 v6, 0xc

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mThumbDrawable:Landroid/graphics/drawable/Drawable;

.line 204
const/4 v6, 0xd

invoke-virtual {v0, v6}, Landroid/content/res/TypedArray;->getDrawable(I)Landroid/graphics/drawable/Drawable;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mTrackDrawable:Landroid/graphics/drawable/Drawable;

:goto_switch[/COLOR]
.line 205
invoke-virtual {v0, v7}, Landroid/content/res/TypedArray;->getText(I)Ljava/lang/CharSequence;

move-result-object v6

iput-object v6, p0, Landroid/widget/Switch;->mTextOn:Ljava/lang/CharSequence;

but i'm not able to re-compile the framework2 because it return me this error

i suppose it's for const/4 v6 , how can i solve it?