[Samsung Galaxy W I8150] Adi Aisiteru Reborn:
ADDITIONAL FIX CODE FOR

[B][COLOR="Black"].method performCollapse()V[/COLOR][/B]

This code will fix the pulldown behaviour which will always viewing/revert to Notification panel instead of other panel when we pull down tray.

add the blue code

[B].method performCollapse()V[/B]
.locals 4

.prologue
const/4 v3, 0x0

.line 1482
iget-boolean v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedVisible:Z

if-nez v0, :cond_1

.line 1519
:cond_0
:goto_0
return-void

.line 1487
:cond_1
invoke-virtual {p0, v3}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->updateExpandedViewPos(I)V

.line 1489
iput-boolean v3, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mExpandedVisible:Z

.line 1490
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mPile:Lcom/android/systemui/statusbar/policy/NotificationRowLayout;

invoke-virtual {v0, v3}, Lcom/android/systemui/statusbar/policy/NotificationRowLayout;->setLayoutTransitionsEnabled(Z)V

.line 1491
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNavigationBarView:Lcom/android/systemui/statusbar/phone/NavigationBarView;

if-eqz v0, :cond_2

.line 1492
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mNavigationBarView:Lcom/android/systemui/statusbar/phone/NavigationBarView;

invoke-virtual {v0, v3}, Lcom/android/systemui/statusbar/phone/NavigationBarView;->setSlippery(Z)V

.line 1493
:cond_2
invoke-virtual {p0, v3}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->visibilityChanged(Z)V

.line 1496
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarContainer:Landroid/widget/FrameLayout;

invoke-virtual {v0}, Landroid/widget/FrameLayout;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

move-result-object v0

check-cast v0, Landroid/view/WindowManager$LayoutParams;

.line 1497
invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->getStatusBarHeight()I

move-result v1

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->height:I

.line 1498
iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

or-int/lit8 v1, v1, 0x8

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

.line 1499
iget v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

const v2, -0x20001

and-int/2addr v1, v2

iput v1, v0, Landroid/view/WindowManager$LayoutParams;->flags:I

.line 1500
invoke-static {}, Landroid/view/WindowManagerImpl;->getDefault()Landroid/view/WindowManagerImpl;

move-result-object v1

.line 1501
iget-object v2, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarContainer:Landroid/widget/FrameLayout;

invoke-interface {v1, v2, v0}, Landroid/view/WindowManager;->updateViewLayout(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

[COLOR="Blue"]
invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->fastFlipToNotifications()V

invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->fastFlipToQuickPanelToggles()V

invoke-virtual {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->deselectAllQuickPanelTabs()V

invoke-direct {p0}, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->selectQuickPanelInitialTab()V[/COLOR]

.line 1503
iget v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mDisabled:I

const/high16 v1, 0x2

and-int/2addr v0, v1

if-nez v0, :cond_3

.line 1504
const/4 v0, 0x1

const/high16 v1, 0x10a

ADDITIONAL INSTRUCTION FOR TWO SIM CARDS DEVICES :)

SEE THE DIFFERENT BELOW

IN SINGLE SIM DEVICES

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
[COLOR="Blue"]<TextView android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="bottom" [COLOR="Red"]android:id="@id/carrier_label"[/COLOR] android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height" />[/COLOR]
<LinearLayout android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginBottom="@dimen/close_handle_underlap">
<include android:layout_width="fill_parent" android:layout_height="@dimen/notification_panel_header_height" layout="@layout/status_bar_expanded_header" />

IN TWO SIM CARDS DEVICES

<?xml version="1.0" encoding="utf-8"?>
<FrameLayout android:id="@id/notification_panel" android:background="@drawable/notification_panel_bg" android:paddingTop="@dimen/notification_panel_padding_top" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="@dimen/notification_panel_margin_left"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:systemui="http://schemas.android.com/apk/res/com.android.systemui">
[COLOR="Blue"][COLOR="Green"]<LinearLayout[/COLOR] android:gravity="center" android:layout_gravity="bottom" android:orientation="horizontal" [COLOR="Red"]android:id="@id/carrier_label_gemini"[/COLOR] android:visibility="invisible" android:layout_width="fill_parent" android:layout_height="@dimen/carrier_label_height" android:layout_marginBottom="@dimen/close_handle_height">
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier1" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
<ImageView android:layout_gravity="center" android:id="@id/carrier_divider" android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@drawable/gemini_carrier_divider" />
<com.android.systemui.statusbar.phone.CarrierLabelGemini android:textAppearance="@style/TextAppearance.StatusBar.Expanded.Network" android:gravity="center" android:layout_gravity="center" android:id="@id/carrier2" android:paddingLeft="12.0dip" android:paddingRight="12.0dip" android:layout_width="0.0dip" android:layout_height="wrap_content" android:singleLine="true" android:layout_weight="1.0" />
[COLOR="Green"]</LinearLayout>[/COLOR][/COLOR]

IF YOU CAN SEE THE RED HIGHLIGHT IN THE PART OF BLUE PART

FOR SINGLE SIM CARD

[COLOR="Red"]android:id="@id/carrier_label"[/COLOR]

FOR TWO SIM CARD

[COLOR="Red"]android:id="@id/carrier_label_gemini"[/COLOR]

WILL BE THE IDS OF

.method private hideCarrierLabel()V
.locals 2

.prologue
.line 125
iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const v1, [COLOR="Red"]0x7f0c003f[/COLOR]

invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

move-result-object v0

.line 126
.local v0, carrierLabel:Landroid/view/View;
const/16 v1, 0x8

invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

.line 129
return-void
.end method

AND

.method private showCarrierLabel()V
.locals 2

iget-object v0, p0, Lcom/android/systemui/statusbar/phone/PhoneStatusBar;->mStatusBarWindow:Lcom/android/systemui/statusbar/phone/StatusBarWindowView;

const v1, [COLOR="Red"]0x7f0c003f[/COLOR]

invoke-virtual {v0, v1}, Lcom/android/systemui/statusbar/phone/StatusBarWindowView;->findViewById(I)Landroid/view/View;

move-result-object v0

const/4 v1, 0x0

invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

return-void
.end method