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

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

am 01796e4f: am 650f1db9: Make InCall wakelock non-reference counted

* commit '01796e4f':
  Make InCall wakelock non-reference counted
parents f62ecf02 01796e4f
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);
    }