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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user