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

Commit 8b09866a authored by Michael Jurka's avatar Michael Jurka
Browse files

Fixing orientation change bug (5098088)

- Also fixing language in long-press menu (5068787)

Change-Id: I941e053e6ce4c85a09f4ff82880b7c2513e54322
parent 185a251b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -36,10 +36,10 @@
    <string name="status_bar_please_disturb_button">Show notifications</string>

    <!-- Title shown in recents popup for removing an application from the list -->
    <string name="status_bar_recent_remove_item_title">Remove</string>
    <string name="status_bar_recent_remove_item_title">Remove from list</string>

    <!-- Title shown in recents popup for inspecting an application's properties -->
    <string name="status_bar_recent_inspect_item_title">Inspect</string>
    <string name="status_bar_recent_inspect_item_title">App info</string>

    <!-- The label in the bar at the top of the status bar when there are no notifications
         showing.  [CHAR LIMIT=40]-->
+10 −9
Original line number Diff line number Diff line
@@ -247,6 +247,16 @@ public class RecentsPanelView extends RelativeLayout
        }
    }

    public void hide(boolean animate) {
        mShowing = false;
        if (!animate) {
            setVisibility(View.GONE);
        }
        if (mBar != null) {
            mBar.animateCollapse();
        }
    }

    public void handleShowBackground(boolean show) {
        if (show) {
            mRecentsScrim.setBackgroundResource(R.drawable.status_bar_recents_background);
@@ -664,15 +674,6 @@ public class RecentsPanelView extends RelativeLayout
        mRecentsGlowView.setVisibility(items > 0 ? View.VISIBLE : View.GONE);
    }

    public void hide(boolean animate) {
        if (!animate) {
            setVisibility(View.GONE);
        }
        if (mBar != null) {
            mBar.animateCollapse();
        }
    }

    public void handleOnClick(View view) {
        ActivityDescription ad = ((ViewHolder) view.getTag()).activityDescription;
        final Context context = view.getContext();
+1 −1
Original line number Diff line number Diff line
@@ -404,7 +404,7 @@ public class PhoneStatusBar extends StatusBar {
        // Recents Panel
        boolean visible = false;
        if (mRecentsPanel != null) {
            visible = mRecentsPanel.getVisibility() == View.VISIBLE;
            visible = mRecentsPanel.isShowing();
            WindowManagerImpl.getDefault().removeView(mRecentsPanel);
        }