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

Commit d714148b authored by Daniel Sandler's avatar Daniel Sandler
Browse files

Remove 'no notifications' label for now.

Bug: 5160106
Change-Id: Icd22f10689b4ec119d5fd43f1f3a8706c214530e
parent 7fa6e424
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -316,8 +316,8 @@ public class PhoneStatusBar extends StatusBar {
        mPile = (ViewGroup)expanded.findViewById(R.id.latestItems);
        mExpandedContents = mPile; // was: expanded.findViewById(R.id.notificationLinearLayout);
        mNoNotificationsTitle = (TextView)expanded.findViewById(R.id.noNotificationsTitle);
        mNoNotificationsTitle.setAlpha(0f);
        mNoNotificationsTitle.setVisibility(View.VISIBLE);
        mNoNotificationsTitle.setVisibility(View.GONE); // disabling for now

        mClearButton = expanded.findViewById(R.id.clear_all_button);
        mClearButton.setOnClickListener(mClearButtonListener);
        mClearButton.setAlpha(0f);
@@ -1026,6 +1026,7 @@ public class PhoneStatusBar extends StatusBar {
            mClearButton.setAlpha(clearable ? 1.0f : 0.0f);
        }

        /*
        if (mNoNotificationsTitle.isShown()) {
            if (any != (mNoNotificationsTitle.getAlpha() == 0.0f)) {
                ObjectAnimator a = ObjectAnimator.ofFloat(mNoNotificationsTitle, "alpha",
@@ -1037,6 +1038,7 @@ public class PhoneStatusBar extends StatusBar {
        } else {
            mNoNotificationsTitle.setAlpha(any ? 0.0f : 0.75f);
        }
        */
    }