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

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

hide notification icon area

parent b091c084
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -163,6 +163,20 @@ public class CollapsedStatusBarFragment extends Fragment implements CommandQueue
        notificationIconArea.addView(mNotificationIconAreaInner);
        // 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