Loading src/com/android/server/telecom/Ringer.java +5 −3 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ public class Ringer { if (endEarly) { if (letDialerHandleRinging) { Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING); Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Dialer handles"); } Log.i(this, "Ending early -- isTheaterModeOn=%s, letDialerHandleRinging=%s, " + "isSelfManaged=%s, hasExternalRinger=%s", isTheaterModeOn, Loading @@ -200,9 +200,11 @@ public class Ringer { mRingtonePlayer.play(mRingtoneFactory, foregroundCall); effect = getVibrationEffectForCall(mRingtoneFactory, foregroundCall); } else { Log.i(this, "startRinging: skipping because ringer would not be audible. " + String reason = String.format( "isVolumeOverZero=%s, shouldRingForContact=%s, isRingtonePresent=%s", isVolumeOverZero, shouldRingForContact, isRingtonePresent); Log.i(this, "startRinging: skipping because ringer would not be audible. " + reason); Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Inaudible: " + reason); effect = mDefaultVibrationEffect; } Loading Loading @@ -236,7 +238,7 @@ public class Ringer { } if (mInCallController.doesConnectedDialerSupportRinging()) { Log.addEvent(call, LogUtils.Events.SKIP_RINGING); Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Dialer handles"); return; } Loading Loading
src/com/android/server/telecom/Ringer.java +5 −3 Original line number Diff line number Diff line Loading @@ -179,7 +179,7 @@ public class Ringer { if (endEarly) { if (letDialerHandleRinging) { Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING); Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Dialer handles"); } Log.i(this, "Ending early -- isTheaterModeOn=%s, letDialerHandleRinging=%s, " + "isSelfManaged=%s, hasExternalRinger=%s", isTheaterModeOn, Loading @@ -200,9 +200,11 @@ public class Ringer { mRingtonePlayer.play(mRingtoneFactory, foregroundCall); effect = getVibrationEffectForCall(mRingtoneFactory, foregroundCall); } else { Log.i(this, "startRinging: skipping because ringer would not be audible. " + String reason = String.format( "isVolumeOverZero=%s, shouldRingForContact=%s, isRingtonePresent=%s", isVolumeOverZero, shouldRingForContact, isRingtonePresent); Log.i(this, "startRinging: skipping because ringer would not be audible. " + reason); Log.addEvent(foregroundCall, LogUtils.Events.SKIP_RINGING, "Inaudible: " + reason); effect = mDefaultVibrationEffect; } Loading Loading @@ -236,7 +238,7 @@ public class Ringer { } if (mInCallController.doesConnectedDialerSupportRinging()) { Log.addEvent(call, LogUtils.Events.SKIP_RINGING); Log.addEvent(call, LogUtils.Events.SKIP_RINGING, "Dialer handles"); return; } Loading