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

Commit c322f51f authored by Brad Fitzpatrick's avatar Brad Fitzpatrick Committed by Android Git Automerger
Browse files

am eb828459: am bb9739c5: am 11bea2e2: Merge "Reduce lock contention, removing...

am eb828459: am bb9739c5: am 11bea2e2: Merge "Reduce lock contention, removing unnecessary synchronization." into froyo
parents 4ead13ca eb828459
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -6141,13 +6141,11 @@ public final class ActivityManagerService extends ActivityManagerNative implemen
        if (!(pendingResult instanceof PendingIntentRecord)) {
            return null;
        }
        synchronized(this) {
        try {
            PendingIntentRecord res = (PendingIntentRecord)pendingResult;
            return res.key.packageName;
        } catch (ClassCastException e) {
        }
        }
        return null;
    }