diff options
author | Yorke Lee <yorkelee@google.com> | 2015-07-14 11:39:36 -0700 |
---|---|---|
committer | Yorke Lee <yorkelee@google.com> | 2015-07-14 11:39:36 -0700 |
commit | e911c8d19662b7eaee07ffa4bfe8822d51c9ee21 (patch) | |
tree | e06e33564e06876869e0a78ff956e4b2ba00ca81 /telecomm/java/android | |
parent | 00c64f7ca5b05384dc3c208eff43e0b1a037a7d0 (diff) | |
download | frameworks_base-e911c8d19662b7eaee07ffa4bfe8822d51c9ee21.zip frameworks_base-e911c8d19662b7eaee07ffa4bfe8822d51c9ee21.tar.gz frameworks_base-e911c8d19662b7eaee07ffa4bfe8822d51c9ee21.tar.bz2 |
Standardize stateToString return values
Bug: 20303674
Change-Id: I884029614c8ce36120c1fc039ef33c0e6736ed5c
Diffstat (limited to 'telecomm/java/android')
-rw-r--r-- | telecomm/java/android/telecom/Connection.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/telecomm/java/android/telecom/Connection.java b/telecomm/java/android/telecom/Connection.java index f304d1d..58fb088 100644 --- a/telecomm/java/android/telecom/Connection.java +++ b/telecomm/java/android/telecom/Connection.java @@ -1231,17 +1231,17 @@ public abstract class Connection extends Conferenceable { public static String stateToString(int state) { switch (state) { case STATE_INITIALIZING: - return "STATE_INITIALIZING"; + return "INITIALIZING"; case STATE_NEW: - return "STATE_NEW"; + return "NEW"; case STATE_RINGING: - return "STATE_RINGING"; + return "RINGING"; case STATE_DIALING: - return "STATE_DIALING"; + return "DIALING"; case STATE_ACTIVE: - return "STATE_ACTIVE"; + return "ACTIVE"; case STATE_HOLDING: - return "STATE_HOLDING"; + return "HOLDING"; case STATE_DISCONNECTED: return "DISCONNECTED"; default: |