[Samsung Galaxy W I8150] regiesoriano:
thanks for this bro, the fix is now on sight. :D

however since I'm extremely new to smali editing, I'm a little lost especially when there is no "put this above or below this line" kind of things. can you guide me on where should I put the following code?

:pswitch_x
sget-boolean v10, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mQuickPanel:Z

if-nez v10, :cond_x

here is the whole method from my ExpandHelper.smali

.method public onInterceptTouchEvent(Landroid/view/MotionEvent;)Z
.locals 10
.parameter "ev"

.prologue
const/4 v9, 0x2

const/4 v7, 0x0

const/4 v6, 0x1

.line 355
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I

move-result v0

.line 362
.local v0, action:I
iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mSGD:Landroid/view/ScaleGestureDetector;

invoke-virtual {v8, p1}, Landroid/view/ScaleGestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z

.line 363
iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mSGD:Landroid/view/ScaleGestureDetector;

invoke-virtual {v8}, Landroid/view/ScaleGestureDetector;->getFocusX()F

move-result v8

float-to-int v2, v8

.line 364
.local v2, x:I
iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mSGD:Landroid/view/ScaleGestureDetector;

invoke-virtual {v8}, Landroid/view/ScaleGestureDetector;->getFocusY()F

move-result v8

float-to-int v4, v8

.line 365
.local v4, y:I
iget-boolean v8, p0, Lcom/android/systemui/ExpandHelper;->mExpanding:Z

if-eqz v8, :cond_1

.line 421
:cond_0
:goto_0
return v6

.line 368
:cond_1
if-ne v0, v9, :cond_2

iget v8, p0, Lcom/android/systemui/ExpandHelper;->mExpansionStyle:I

and-int/lit8 v8, v8, 0x1

if-nez v8, :cond_0

.line 372
:cond_2
iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mSGD:Landroid/view/ScaleGestureDetector;

invoke-virtual {v8}, Landroid/view/ScaleGestureDetector;->getCurrentSpanX()F

move-result v3

.line 373
.local v3, xspan:F
if-ne v0, v9, :cond_3

iget v8, p0, Lcom/android/systemui/ExpandHelper;->mPullGestureMinXSpan:F

cmpl-float v8, v3, v8

if-lez v8, :cond_3

iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mSGD:Landroid/view/ScaleGestureDetector;

invoke-virtual {v8}, Landroid/view/ScaleGestureDetector;->getCurrentSpanY()F

move-result v8

cmpl-float v8, v3, v8

if-lez v8, :cond_3

.line 379
int-to-float v7, v4

iput v7, p0, Lcom/android/systemui/ExpandHelper;->mInitialTouchFocusY:F

.line 381
int-to-float v7, v2

int-to-float v8, v4

invoke-direct {p0, v7, v8}, Lcom/android/systemui/ExpandHelper;->findView(FF)Landroid/view/View;

move-result-object v1

.line 382
.local v1, underFocus:Landroid/view/View;
if-eqz v1, :cond_0

.line 383
invoke-direct {p0, v1, v9}, Lcom/android/systemui/ExpandHelper;->startExpanding(Landroid/view/View;I)V

goto :goto_0

.line 387
.end local v1 #underFocus:Landroid/view/View;
:cond_3
iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mScrollView:Landroid/view/View;

if-eqz v8, :cond_4

iget-object v8, p0, Lcom/android/systemui/ExpandHelper;->mScrollView:Landroid/view/View;

invoke-virtual {v8}, Landroid/view/View;->getScrollY()I

move-result v8

if-lez v8, :cond_4

move v6, v7

.line 388
goto :goto_0

.line 391
:cond_4
and-int/lit16 v8, v0, 0xff

packed-switch v8, :pswitch_data_0

.line 421
:cond_5
:goto_1
iget-boolean v6, p0, Lcom/android/systemui/ExpandHelper;->mExpanding:Z

goto :goto_0

.line 393
:pswitch_0
iget-boolean v8, p0, Lcom/android/systemui/ExpandHelper;->mWatchingForPull:Z

if-eqz v8, :cond_5

.line 394
iget v8, p0, Lcom/android/systemui/ExpandHelper;->mLastMotionY:I

sub-int v5, v4, v8

.line 395
.local v5, yDiff:I
iget v8, p0, Lcom/android/systemui/ExpandHelper;->mTouchSlop:I

if-le v5, v8, :cond_5

.line 397
iput v4, p0, Lcom/android/systemui/ExpandHelper;->mLastMotionY:I

.line 398
int-to-float v8, v2

int-to-float v9, v4

invoke-direct {p0, v8, v9}, Lcom/android/systemui/ExpandHelper;->findView(FF)Landroid/view/View;

move-result-object v1

.line 399
.restart local v1 #underFocus:Landroid/view/View;
if-eqz v1, :cond_5

.line 400
invoke-direct {p0, v1, v6}, Lcom/android/systemui/ExpandHelper;->startExpanding(Landroid/view/View;I)V

.line 401
iget v6, p0, Lcom/android/systemui/ExpandHelper;->mLastMotionY:I

int-to-float v6, v6

iput v6, p0, Lcom/android/systemui/ExpandHelper;->mInitialTouchY:F

.line 402
iput-boolean v7, p0, Lcom/android/systemui/ExpandHelper;->mHasPopped:Z

goto :goto_1

.line 410
.end local v1 #underFocus:Landroid/view/View;
.end local v5 #yDiff:I
:pswitch_1
iget-object v6, p0, Lcom/android/systemui/ExpandHelper;->mScrollView:Landroid/view/View;

int-to-float v7, v2

int-to-float v8, v4

invoke-direct {p0, v6, v7, v8}, Lcom/android/systemui/ExpandHelper;->isInside(Landroid/view/View;FF)Z

move-result v6

iput-boolean v6, p0, Lcom/android/systemui/ExpandHelper;->mWatchingForPull:Z

.line 411
iput v4, p0, Lcom/android/systemui/ExpandHelper;->mLastMotionY:I

goto :goto_1

.line 417
:pswitch_2
invoke-direct {p0, v7}, Lcom/android/systemui/ExpandHelper;->finishExpanding(Z)V

.line 418
invoke-direct {p0}, Lcom/android/systemui/ExpandHelper;->clearView()V

goto :goto_1

.line 391
nop

:pswitch_data_0
.packed-switch 0x0
:pswitch_1
:pswitch_2
:pswitch_0
:pswitch_2
.end packed-switch
.end method