Merge "DirectReply: Fix bugs when replying from HUNs" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
a8cf435e81
@@ -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();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user