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

Commit 004f7009 authored by nfjb73's avatar nfjb73 Committed by Vineeta Srivastava
Browse files

Fix incoming call name presentation

According to ril.h, namePresention should be handled as 
numberPresention as they are using same value scope. In RIL.java,
only numberPresention is matched to that definition in DriveCall,
 but namePresention is not matched.

Bug: 17327806
Change-Id: Iba985cbef98318181f93a9eab740db3d23a49a10
parent 91e062f3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -3343,7 +3343,8 @@ public final class RIL extends BaseCommands implements CommandsInterface {
            int np = p.readInt();
            dc.numberPresentation = DriverCall.presentationFromCLIP(np);
            dc.name = p.readString();
            dc.namePresentation = p.readInt();
            // according to ril.h, namePresentation should be handled as numberPresentation;
            dc.namePresentation = DriverCall.presentationFromCLIP(p.readInt());
            int uusInfoPresent = p.readInt();
            if (uusInfoPresent == 1) {
                dc.uusInfo = new UUSInfo();