Fix applyAdjustmentsFromAssistants
Issue: r.applyAdjustments() updates the NotificationRecord from the
adjustments, which makes handleRankingSort failed to diff
the NotificationRecord properly as it is already updated
Solution: Only update the importance bit in applyAdjustmentsFromAssistants
Test: runtest systemui-notification
Test: Posted a notification, observe smart replies. Reboot, still
seeing the smart replies.
FIXES: 118886848
Change-Id: I3757d29ef4a28a2b55be06c331f8fcf702caf61a
2 files changed