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

Commit 7b0e8297 authored by Deepak Sharma's avatar Deepak Sharma
Browse files

Fix the integer overflow/underflow caused by sorting of duplicate...

Fix the integer overflow/underflow caused by sorting of duplicate phoneaccounts during emergency call attempt.
Bug: 207733460
Change-Id: I06854464d8fccd86567d18cfde5bfdf230e529f7
Test: Manual
parent 725404c9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -661,7 +661,7 @@ public class CreateConnectionProcessor implements CreateConnectionResponse {
            }

            // then by hashcode
            return account1.hashCode() - account2.hashCode();
            return Integer.compare(account1.hashCode(), account2.hashCode());
        });
    }