[Android Themes] androidphone2012:
found the patch for services.jar in 4.1.X

just followed the guide with CM10 file

CM10.1 guide : http://xdaforums.com/showpost.php?p=40278494&postcount=5 Adi Aisiteru Reborn

CM10 file : http://xdaforums.com/showthread.php?t=1938032 Andy_nu

in com/android/server/wm/WindowAnimator.smali

replace the following

.method private updateWindowsAndWallpaperLocked()V

...

.end method

with this

.method private updateWindowsAndWallpaperLocked()V
.registers 19

.prologue
.line 203
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mAnimTransactionSequence:I

add-int/lit8 v15, v15, 0x1

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mAnimTransactionSequence:I

.line 205
const/4 v10, 0x0

.line 206
.local v10, unForceHiding:Ljava/util/ArrayList;,"Ljava/util/ArrayList;"
const/4 v11, 0x0

.line 208
.local v11, wallpaperInUnForceHiding:Z
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

iget-object v15, v15, Lcom/android/server/wm/WindowManagerService;->mWindows:Ljava/util/ArrayList;

invoke-virtual {v15}, Ljava/util/ArrayList;->size()I

move-result v15

add-int/lit8 v8, v15, -0x1

.local v8, i:I
:goto_18
if-ltz v8, :cond_271

.line 209
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

iget-object v15, v15, Lcom/android/server/wm/WindowManagerService;->mWindows:Ljava/util/ArrayList;

invoke-virtual {v15, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

move-result-object v13

check-cast v13, Lcom/android/server/wm/WindowState;

.line 210
.local v13, win:Lcom/android/server/wm/WindowState;
iget-object v14, v13, Lcom/android/server/wm/WindowState;->mWinAnimator:Lcom/android/server/wm/WindowStateAnimator;

.line 211
.local v14, winAnimator:Lcom/android/server/wm/WindowStateAnimator;
iget v6, v14, Lcom/android/server/wm/WindowStateAnimator;->mAttrFlags:I

.line 213
.local v6, flags:I
iget-object v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mSurface:Landroid/view/Surface;

if-eqz v15, :cond_14d

.line 214
iget-boolean v12, v14, Lcom/android/server/wm/WindowStateAnimator;->mWasAnimating:Z

.line 215
.local v12, wasAnimating:Z
move-object/from16 v0, p0

iget-wide v15, v0, Lcom/android/server/wm/WindowAnimator;->mCurrentTime:J

invoke-virtual/range {v14 .. v16}, Lcom/android/server/wm/WindowStateAnimator;->stepAnimationLocked(J)Z

move-result v9

.line 225
.local v9, nowAnimating:Z
if-eqz v9, :cond_82

.line 226
iget-object v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimation:Landroid/view/animation/Animation;

if-eqz v15, :cond_7d

.line 227
const/high16 v15, 0x10

and-int/2addr v15, v6

if-eqz v15, :cond_4f

iget-object v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimation:Landroid/view/animation/Animation;

invoke-virtual {v15}, Landroid/view/animation/Animation;->getDetachWallpaper()Z

move-result v15

if-eqz v15, :cond_4f

.line 229
move-object/from16 v0, p0

iput-object v13, v0, Lcom/android/server/wm/WindowAnimator;->mDetachedWallpaper:Lcom/android/server/wm/WindowState;

.line 231
:cond_4f
iget-object v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimation:Landroid/view/animation/Animation;

invoke-virtual {v15}, Landroid/view/animation/Animation;->getBackgroundColor()I

move-result v4

.line 232
.local v4, backgroundColor:I
if-eqz v4, :cond_7d

.line 233
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

if-eqz v15, :cond_75

iget v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget-object v0, v0, Lcom/android/server/wm/WindowState;->mWinAnimator:Lcom/android/server/wm/WindowStateAnimator;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget v0, v0, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

move/from16 v16, v0

move/from16 v0, v16

if-ge v15, v0, :cond_7d

.line 236
:cond_75
move-object/from16 v0, p0

iput-object v13, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

.line 237
move-object/from16 v0, p0

iput v4, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackgroundColor:I

.line 241
.end local v4 #backgroundColor:I
:cond_7d
const/4 v15, 0x1

move-object/from16 v0, p0

iput-boolean v15, v0, Lcom/android/server/wm/WindowAnimator;->mAnimating:Z

.line 247
:cond_82
iget-object v15, v13, Lcom/android/server/wm/WindowState;->mAppToken:Lcom/android/server/wm/AppWindowToken;

if-nez v15, :cond_1ac

const/4 v2, 0x0

.line 249
.local v2, appAnimator:Lcom/android/server/wm/AppWindowAnimator;
:goto_87
if-eqz v2, :cond_d0

iget-object v15, v2, Lcom/android/server/wm/AppWindowAnimator;->animation:Landroid/view/animation/Animation;

if-eqz v15, :cond_d0

iget-boolean v15, v2, Lcom/android/server/wm/AppWindowAnimator;->animating:Z

if-eqz v15, :cond_d0

.line 251
const/high16 v15, 0x10

and-int/2addr v15, v6

if-eqz v15, :cond_a2

iget-object v15, v2, Lcom/android/server/wm/AppWindowAnimator;->animation:Landroid/view/animation/Animation;

invoke-virtual {v15}, Landroid/view/animation/Animation;->getDetachWallpaper()Z

move-result v15

if-eqz v15, :cond_a2

.line 253
move-object/from16 v0, p0

iput-object v13, v0, Lcom/android/server/wm/WindowAnimator;->mDetachedWallpaper:Lcom/android/server/wm/WindowState;

.line 255
:cond_a2
iget-object v15, v2, Lcom/android/server/wm/AppWindowAnimator;->animation:Landroid/view/animation/Animation;

invoke-virtual {v15}, Landroid/view/animation/Animation;->getBackgroundColor()I

move-result v4

.line 256
.restart local v4 #backgroundColor:I
if-eqz v4, :cond_d0

.line 257
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

if-eqz v15, :cond_c8

iget v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

move-object/from16 v0, p0

iget-object v0, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget-object v0, v0, Lcom/android/server/wm/WindowState;->mWinAnimator:Lcom/android/server/wm/WindowStateAnimator;

move-object/from16 v16, v0

move-object/from16 v0, v16

iget v0, v0, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

move/from16 v16, v0

move/from16 v0, v16

if-ge v15, v0, :cond_d0

.line 260
:cond_c8
move-object/from16 v0, p0

iput-object v13, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackground:Lcom/android/server/wm/WindowState;

.line 261
move-object/from16 v0, p0

iput v4, v0, Lcom/android/server/wm/WindowAnimator;->mWindowAnimationBackgroundColor:I

.line 266
.end local v4 #backgroundColor:I
:cond_d0
if-eqz v12, :cond_101

iget-boolean v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimating:Z

if-nez v15, :cond_101

move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

iget-object v15, v15, Lcom/android/server/wm/WindowManagerService;->mWallpaperTarget:Lcom/android/server/wm/WindowState;

if-ne v15, v13, :cond_101

.line 267
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

or-int/lit8 v15, v15, 0x2

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

.line 268
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

or-int/lit8 v15, v15, 0x4

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

.line 270
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const-string v16, "updateWindowsAndWallpaperLocked 2"

move-object/from16 v0, p0

iget v0, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

move/from16 v17, v0

invoke-virtual/range {v15 .. v17}, Lcom/android/server/wm/WindowManagerService;->debugLayoutRepeats(Ljava/lang/String;I)V

.line 275
:cond_101
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mPolicy:Landroid/view/WindowManagerPolicy;

iget-object v0, v13, Lcom/android/server/wm/WindowState;->mAttrs:Landroid/view/WindowManager$LayoutParams;

move-object/from16 v16, v0

move-object/from16 v0, v16

invoke-interface {v15, v13, v0}, Landroid/view/WindowManagerPolicy;->doesForceHide(Landroid/view/WindowManagerPolicy$WindowState;Landroid/view/WindowManager$LayoutParams;)Z

move-result v15

if-eqz v15, :cond_1b2

.line 276
if-nez v12, :cond_142

if-eqz v9, :cond_142

.line 280
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

or-int/lit8 v15, v15, 0x4

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

.line 281
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

or-int/lit8 v15, v15, 0x4

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

.line 283
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const-string v16, "updateWindowsAndWallpaperLocked 3"

move-object/from16 v0, p0

iget v0, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

move/from16 v17, v0

invoke-virtual/range {v15 .. v17}, Lcom/android/server/wm/WindowManagerService;->debugLayoutRepeats(Ljava/lang/String;I)V

.line 286
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const/16 v16, 0x1

move/from16 v0, v16

iput-boolean v0, v15, Lcom/android/server/wm/WindowManagerService;->mFocusMayChange:Z

.line 288
:cond_142
invoke-virtual {v13}, Lcom/android/server/wm/WindowState;->isReadyForDisplay()Z

move-result v15

if-eqz v15, :cond_14d

.line 289
const/4 v15, 0x0

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mForceHiding:I

.line 344
.end local v2 #appAnimator:Lcom/android/server/wm/AppWindowAnimator;
.end local v9 #nowAnimating:Z
.end local v12 #wasAnimating:Z
:cond_14d
:goto_14d
iget-object v3, v13, Lcom/android/server/wm/WindowState;->mAppToken:Lcom/android/server/wm/AppWindowToken;

.line 345
.local v3, atoken:Lcom/android/server/wm/AppWindowToken;
iget v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mDrawState:I

const/16 v16, 0x3

move/from16 v0, v16

if-ne v15, v0, :cond_17c

.line 346
if-eqz v3, :cond_15d

iget-boolean v15, v3, Lcom/android/server/wm/AppWindowToken;->allDrawn:Z

if-eqz v15, :cond_17c

.line 347
:cond_15d
invoke-virtual {v14}, Lcom/android/server/wm/WindowStateAnimator;->performShowLocked()Z

move-result v15

if-eqz v15, :cond_17c

.line 348
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

or-int/lit8 v15, v15, 0x8

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

.line 350
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const-string v16, "updateWindowsAndWallpaperLocked 5"

move-object/from16 v0, p0

iget v0, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

move/from16 v17, v0

invoke-virtual/range {v15 .. v17}, Lcom/android/server/wm/WindowManagerService;->debugLayoutRepeats(Ljava/lang/String;I)V

.line 356
:cond_17c
if-nez v3, :cond_26d

const/4 v2, 0x0

.line 358
.restart local v2 #appAnimator:Lcom/android/server/wm/AppWindowAnimator;
:goto_17f
if-eqz v2, :cond_1a8

iget-object v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnail:Landroid/view/Surface;

if-eqz v15, :cond_1a8

.line 359
iget v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnailTransactionSeq:I

move-object/from16 v0, p0

iget v0, v0, Lcom/android/server/wm/WindowAnimator;->mAnimTransactionSequence:I

move/from16 v16, v0

move/from16 v0, v16

if-eq v15, v0, :cond_19a

.line 360
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mAnimTransactionSequence:I

iput v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnailTransactionSeq:I

.line 361
const/4 v15, 0x0

iput v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnailLayer:I

.line 363
:cond_19a
iget v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnailLayer:I

iget v0, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

move/from16 v16, v0

move/from16 v0, v16

if-ge v15, v0, :cond_1a8

.line 364
iget v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimLayer:I

iput v15, v2, Lcom/android/server/wm/AppWindowAnimator;->thumbnailLayer:I

.line 208
:cond_1a8
add-int/lit8 v8, v8, -0x1

goto/16 :goto_18

.line 247
.end local v2 #appAnimator:Lcom/android/server/wm/AppWindowAnimator;
.end local v3 #atoken:Lcom/android/server/wm/AppWindowToken;
.restart local v9 #nowAnimating:Z
.restart local v12 #wasAnimating:Z
:cond_1ac
iget-object v15, v13, Lcom/android/server/wm/WindowState;->mAppToken:Lcom/android/server/wm/AppWindowToken;

iget-object v2, v15, Lcom/android/server/wm/AppWindowToken;->mAppAnimator:Lcom/android/server/wm/AppWindowAnimator;

goto/16 :goto_87

.line 300
.restart local v2 #appAnimator:Lcom/android/server/wm/AppWindowAnimator;
:cond_1b2
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mPolicy:Landroid/view/WindowManagerPolicy;

iget-object v0, v13, Lcom/android/server/wm/WindowState;->mAttrs:Landroid/view/WindowManager$LayoutParams;

move-object/from16 v16, v0

move-object/from16 v0, v16

invoke-interface {v15, v13, v0}, Landroid/view/WindowManagerPolicy;->canBeForceHidden(Landroid/view/WindowManagerPolicy$WindowState;Landroid/view/WindowManager$LayoutParams;)Z

move-result v15

if-eqz v15, :cond_14d

.line 301
iget v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAttrFlags:I

const/high16 v16, 0x8

and-int v15, v15, v16

if-nez v15, :cond_21e

const/4 v7, 0x1

.line 304
.local v7, hideWhenLocked:Z
:goto_1cb
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mForceHiding:I

const/16 v16, 0x1

move/from16 v0, v16

if-ne v15, v0, :cond_1dd

invoke-virtual {v14}, Lcom/android/server/wm/WindowStateAnimator;->isAnimating()Z

move-result v15

if-eqz v15, :cond_1e9

if-nez v7, :cond_1e9

:cond_1dd
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mForceHiding:I

const/16 v16, 0x2

move/from16 v0, v16

if-ne v15, v0, :cond_220

if-eqz v7, :cond_220

.line 307
:cond_1e9
const/4 v15, 0x0

const/16 v16, 0x0

move/from16 v0, v16

invoke-virtual {v13, v15, v0}, Lcom/android/server/wm/WindowState;->hideLw(ZZ)Z

move-result v5

.line 333
.local v5, changed:Z
:cond_1f2
:goto_1f2
if-eqz v5, :cond_14d

const/high16 v15, 0x10

and-int/2addr v15, v6

if-eqz v15, :cond_14d

.line 334
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

or-int/lit8 v15, v15, 0x2

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

.line 335
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

or-int/lit8 v15, v15, 0x4

move-object/from16 v0, p0

iput v15, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

.line 337
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const-string v16, "updateWindowsAndWallpaperLocked 4"

move-object/from16 v0, p0

iget v0, v0, Lcom/android/server/wm/WindowAnimator;->mPendingLayoutChanges:I

move/from16 v17, v0

invoke-virtual/range {v15 .. v17}, Lcom/android/server/wm/WindowManagerService;->debugLayoutRepeats(Ljava/lang/String;I)V

goto/16 :goto_14d

.line 301
.end local v5 #changed:Z
.end local v7 #hideWhenLocked:Z
:cond_21e
const/4 v7, 0x0

goto :goto_1cb

.line 311
.restart local v7 #hideWhenLocked:Z
:cond_220
const/4 v15, 0x0

const/16 v16, 0x0

move/from16 v0, v16

invoke-virtual {v13, v15, v0}, Lcom/android/server/wm/WindowState;->showLw(ZZ)Z

move-result v5

.line 314
.restart local v5 #changed:Z
if-eqz v5, :cond_1f2

.line 315
move-object/from16 v0, p0

iget v15, v0, Lcom/android/server/wm/WindowAnimator;->mBulkUpdateParams:I

and-int/lit8 v15, v15, 0x4

if-eqz v15, :cond_24e

invoke-virtual {v13}, Lcom/android/server/wm/WindowState;->isVisibleNow()Z

move-result v15

if-eqz v15, :cond_24e

.line 317
if-nez v10, :cond_240

.line 318
new-instance v10, Ljava/util/ArrayList;

.end local v10 #unForceHiding:Ljava/util/ArrayList;,"Ljava/util/ArrayList;"
invoke-direct {v10}, Ljava/util/ArrayList;->()V

.line 320
.restart local v10 #unForceHiding:Ljava/util/ArrayList;,"Ljava/util/ArrayList;"
:cond_240
invoke-virtual {v10, v14}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z

.line 321
iget-object v15, v13, Lcom/android/server/wm/WindowState;->mAttrs:Landroid/view/WindowManager$LayoutParams;

iget v15, v15, Landroid/view/WindowManager$LayoutParams;->flags:I

const/high16 v16, 0x10

and-int v15, v15, v16

if-eqz v15, :cond_24e

.line 322
const/4 v11, 0x1

.line 325
:cond_24e
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mCurrentFocus:Lcom/android/server/wm/WindowState;

if-eqz v15, :cond_262

move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mCurrentFocus:Lcom/android/server/wm/WindowState;

iget v15, v15, Lcom/android/server/wm/WindowState;->mLayer:I

iget v0, v13, Lcom/android/server/wm/WindowState;->mLayer:I

move/from16 v16, v0

move/from16 v0, v16

if-ge v15, v0, :cond_1f2

.line 329
:cond_262
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mService:Lcom/android/server/wm/WindowManagerService;

const/16 v16, 0x1

move/from16 v0, v16

iput-boolean v0, v15, Lcom/android/server/wm/WindowManagerService;->mFocusMayChange:Z

goto :goto_1f2

.line 356
.end local v2 #appAnimator:Lcom/android/server/wm/AppWindowAnimator;
.end local v5 #changed:Z
.end local v7 #hideWhenLocked:Z
.end local v9 #nowAnimating:Z
.end local v12 #wasAnimating:Z
.restart local v3 #atoken:Lcom/android/server/wm/AppWindowToken;
:cond_26d
iget-object v2, v3, Lcom/android/server/wm/AppWindowToken;->mAppAnimator:Lcom/android/server/wm/AppWindowAnimator;

goto/16 :goto_17f

.line 371
.end local v3 #atoken:Lcom/android/server/wm/AppWindowToken;
.end local v6 #flags:I
.end local v13 #win:Lcom/android/server/wm/WindowState;
.end local v14 #winAnimator:Lcom/android/server/wm/WindowStateAnimator;
:cond_271
if-eqz v10, :cond_294

.line 372
invoke-virtual {v10}, Ljava/util/ArrayList;->size()I

move-result v15

add-int/lit8 v8, v15, -0x1

:goto_279
if-ltz v8, :cond_294

.line 373
move-object/from16 v0, p0

iget-object v15, v0, Lcom/android/server/wm/WindowAnimator;->mPolicy:Landroid/view/WindowManagerPolicy;

invoke-interface {v15, v11}, Landroid/view/WindowManagerPolicy;->createForceHideEnterAnimation(Z)Landroid/view/animation/Animation;

move-result-object v1

.line 374
.local v1, a:Landroid/view/animation/Animation;
if-eqz v1, :cond_291

.line 375
invoke-virtual {v10, v8}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

move-result-object v14

check-cast v14, Lcom/android/server/wm/WindowStateAnimator;

.line 376
.restart local v14 #winAnimator:Lcom/android/server/wm/WindowStateAnimator;
invoke-virtual {v14, v1}, Lcom/android/server/wm/WindowStateAnimator;->setAnimation(Landroid/view/animation/Animation;)V

.line 377
const/4 v15, 0x1

iput-boolean v15, v14, Lcom/android/server/wm/WindowStateAnimator;->mAnimationIsEntrance:Z

.line 372
.end local v14 #winAnimator:Lcom/android/server/wm/WindowStateAnimator;
:cond_291
add-int/lit8 v8, v8, -0x1

goto :goto_279

.line 381
.end local v1 #a:Landroid/view/animation/Animation;
:cond_294
return-void
.end method

the patch for android.policy.jar in OP in this thread

Edit : Eek, the guide already is

http://xdaforums.com/showpost.php?p=40344228&postcount=1