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

Commit ec861555 authored by Adam Powell's avatar Adam Powell Committed by android-build-merger
Browse files

ResolverComparator transitivity am: 2366ff12 am: e698d8bf

am: dbd1fc0d

Change-Id: I4c602d34473529ddc20717e073a0abb4f8ede081
parents d0035b2f dbd1fc0d
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -157,7 +157,10 @@ class ResolverComparator implements Comparator<ResolvedComponentInfo> {

        // We want to put the one targeted to another user at the end of the dialog.
        if (lhs.targetUserId != UserHandle.USER_CURRENT) {
            return 1;
            return rhs.targetUserId != UserHandle.USER_CURRENT ? 0 : 1;
        }
        if (rhs.targetUserId != UserHandle.USER_CURRENT) {
            return -1;
        }

        if (mHttp) {