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

Commit 130a46f8 authored by Libin.Tang@motorola.com's avatar Libin.Tang@motorola.com Committed by Android Git Automerger
Browse files

am 52c193f0: IMS: fix ImsPhoneConnection wakelock stuck Bug: 18965642

* commit '52c193f0':
  IMS: fix ImsPhoneConnection wakelock stuck Bug: 18965642
parents f84f62ae 52c193f0
Loading
Loading
Loading
Loading
+1 −5
Original line number Diff line number Diff line
@@ -1313,6 +1313,7 @@ public final class ImsPhoneCallTracker extends CallTracker {
            }
            for (Connection c : mHandoverCall.mConnections) {
                ((ImsPhoneConnection)c).changeParent(mHandoverCall);
                ((ImsPhoneConnection)c).releaseWakeLock();
            }
        }
        if (call.getState().isAlive()) {
@@ -1333,11 +1334,6 @@ public final class ImsPhoneCallTracker extends CallTracker {
            transferHandoverConnections(mForegroundCall);
            transferHandoverConnections(mBackgroundCall);
            transferHandoverConnections(mRingingCall);
            // release wake lock hold
            ImsPhoneConnection con = mHandoverCall.getHandoverConnection();
            if (con != null) {
                con.releaseWakeLock();
            }
        }
    }