DirectReply: Fix bugs when replying from HUNs am: 9550f2e75c
am: 079911cb6c
Change-Id: I73f36ce938f9c45dd9638a8f826ba26c54de6a4e
This commit is contained in:
@@ -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