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

Skip to content
Commit 91d59ca7 authored by Hemant Gupta's avatar Hemant Gupta Committed by Myles Watson
Browse files

MAP: Fix New Message status when maxListCount is 0

Precondition:
All messages in phone are already read.

Usecase:
1) Establish Map Session with Carkit.
2) Send Get MessageListing request from carkit
   with maxListCount as 0 and.>0

Issue:
MAP server sends New Message as ON in get MessageListing
response even if there are no unread messages.

Root Cause:
Incorrect Condition to check if there are unread messages.

Fix:
Corrected the condition depending on read status
for corresponding message.

Test: Checked if new messages status is properly updated to
remote carkit in above scenario.

Fixes: 72141024
Change-Id: I1d328d8681de101ce845e8af91ebdc0df663f84d
parent 28f90b2f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment