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

Commit 079911cb authored by Adrian Roos's avatar Adrian Roos Committed by android-build-merger
Browse files

DirectReply: Fix bugs when replying from HUNs

am: 9550f2e7

Change-Id: I0edbb334926eb1147e271e31229279218561332d
parents 9608d1c2 9550f2e7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1610,7 +1610,8 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
        }
        Entry entry = mNotificationData.get(key);

        if (entry != null && mRemoteInputController.isRemoteInputActive(entry)) {
        if (entry != null && mRemoteInputController.isRemoteInputActive(entry)
                && (entry.row != null && !entry.row.isDismissed())) {
            mLatestRankingMap = ranking;
            mRemoteInputEntriesToRemoveOnCollapse.add(entry);
            return;
@@ -2535,6 +2536,7 @@ public class PhoneStatusBar extends BaseStatusBar implements DemoMode,
                            mStatusBarWindowManager.setHeadsUpShowing(false);
                            mHeadsUpManager.setHeadsUpGoingAway(false);
                        }
                        removeRemoteInputEntriesKeptUntilCollapsed();
                    }
                });
            }
+1 −1
Original line number Diff line number Diff line
@@ -348,7 +348,7 @@ public class RemoteInputView extends LinearLayout implements View.OnClickListene
    }

    public boolean isActive() {
        return mEditText.isFocused();
        return mEditText.isFocused() && mEditText.isEnabled();
    }

    public void stealFocusFrom(RemoteInputView other) {