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

Commit e223d7bf authored by Aditi Katragadda's avatar Aditi Katragadda
Browse files

Update comment related to unread messages MAP

Fix comment in processMessage() : case MSG_GET_MESSAGE_LISTING to
reflect the code implementation. We request the latest 50 messages, not
just the latest 50 "unread" messages.

Tag: #stability
Bug: 338079847
Flag: EXEMPT, comment change only
Test: atest MapClientStateMachineTest.java
Change-Id: I8114b1b277efb394fbc38f80ea2317f3c620eb93
parent 4afbd601
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -690,7 +690,7 @@ class MceStateMachine extends StateMachine {
                    break;

                case MSG_GET_MESSAGE_LISTING:
                    // Get latest 50 Unread messages in the last week
                    // Get the 50 most recent messages from the last week
                    Calendar calendar = Calendar.getInstance();
                    calendar.add(Calendar.DATE, -7);
                    byte messageType;