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

Commit 01796e4f authored by Yorke Lee's avatar Yorke Lee Committed by Android Git Automerger
Browse files

am 650f1db9: Make InCall wakelock non-reference counted

* commit '650f1db9':
  Make InCall wakelock non-reference counted
parents c8e528b8 650f1db9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -40,6 +40,7 @@ public class InCallWakeLockController extends CallsManagerListenerBase {

        PowerManager powerManager = (PowerManager) mContext.getSystemService(Context.POWER_SERVICE);
        mFullWakeLock = powerManager.newWakeLock(PowerManager.FULL_WAKE_LOCK, TAG);
        mFullWakeLock.setReferenceCounted(false);

        callsManager.addListener(this);
    }