Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7d74517 authored by narinder Rana's avatar narinder Rana
Browse files

hide notification icon area using program

parent 59bcd282
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -84,7 +84,6 @@

                <com.android.systemui.statusbar.AlphaOptimizedFrameLayout
                    android:id="@+id/notification_icon_area"
                    android:visibility="gone"
                    android:layout_width="0dp"
                    android:layout_height="match_parent"
                    android:layout_weight="1"
+14 −0
Original line number Diff line number Diff line
@@ -177,6 +177,20 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue

        // Default to showing until we know otherwise.
        showNotificationIconArea(false);

        showHideNotificationIconArea(true)
    }

    public void showHideNotificationIconArea(boolean isHide){

        ViewGroup notificationIconArea = mStatusBar.findViewById(R.id.notification_icon_area);
        if(isHide){
            notificationIconArea.setVisibility(View.GONE);
        }
        else {
            notificationIconArea.setVisibility(View.INVISIBLE);
        }

    }

    @Override