Add logging values for new call states

Add the string values for the new call states so we don't get warnings
about unknown states in the logs.

Bug: 140317205
Test: manual
Change-Id: Ia6a27179639748287436a0785a03201985d8ab50
This commit is contained in:
Hall Liu
2019-10-14 17:50:45 -07:00
parent 038d1b5b27
commit 4e35b64bc3

View File

@@ -2048,6 +2048,10 @@ public final class Call {
return "DISCONNECTING";
case STATE_SELECT_PHONE_ACCOUNT:
return "SELECT_PHONE_ACCOUNT";
case STATE_SIMULATED_RINGING:
return "SIMULATED_RINGING";
case STATE_AUDIO_PROCESSING:
return "AUDIO_PROCESSING";
default:
Log.w(Call.class, "Unknown state %d", state);
return "UNKNOWN";