diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2017-12-28 02:35:07 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2017-12-28 02:35:07 +0000 |
commit | 281998c825ad48d842bb653e2f462719fdb0c1d9 (patch) | |
tree | bc8bfcce809257b3ddbb423a9808082292b9f6a3 /java/com/android/incallui/CallerInfo.java | |
parent | fc81a030a7b4f6d4a497f71aed593d398795e7da (diff) | |
parent | 183cb71663320f16149d83eeebaff7795a4b55f2 (diff) |
Merge "Remove field prefixes."
Diffstat (limited to 'java/com/android/incallui/CallerInfo.java')
-rw-r--r-- | java/com/android/incallui/CallerInfo.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/java/com/android/incallui/CallerInfo.java b/java/com/android/incallui/CallerInfo.java index d3b12c158..7a5002d0e 100644 --- a/java/com/android/incallui/CallerInfo.java +++ b/java/com/android/incallui/CallerInfo.java @@ -164,13 +164,13 @@ public class CallerInfo { public String countryIso; - private boolean mIsEmergency; - private boolean mIsVoiceMail; + private boolean isEmergency; + private boolean isVoiceMail; public CallerInfo() { // TODO: Move all the basic initialization here? - mIsEmergency = false; - mIsVoiceMail = false; + isEmergency = false; + isVoiceMail = false; userType = ContactsUtils.USER_TYPE_CURRENT; } @@ -467,12 +467,12 @@ public class CallerInfo { /** @return true if the caller info is an emergency number. */ public boolean isEmergencyNumber() { - return mIsEmergency; + return isEmergency; } /** @return true if the caller info is a voicemail number. */ public boolean isVoiceMailNumber() { - return mIsVoiceMail; + return isVoiceMail; } /** @@ -485,7 +485,7 @@ public class CallerInfo { name = context.getString(R.string.emergency_call_dialog_number_for_display); phoneNumber = null; - mIsEmergency = true; + isEmergency = true; return this; } @@ -497,7 +497,7 @@ public class CallerInfo { * @return this instance. */ /* package */ CallerInfo markAsVoiceMail(Context context) { - mIsVoiceMail = true; + isVoiceMail = true; try { // For voicemail calls, we display the voice mail tag @@ -565,8 +565,8 @@ public class CallerInfo { .append("\nshouldSendToVoicemail: " + shouldSendToVoicemail) .append("\ncachedPhoto: " + cachedPhoto) .append("\nisCachedPhotoCurrent: " + isCachedPhotoCurrent) - .append("\nemergency: " + mIsEmergency) - .append("\nvoicemail: " + mIsVoiceMail) + .append("\nemergency: " + isEmergency) + .append("\nvoicemail: " + isVoiceMail) .append("\nuserType: " + userType) .append(" }") .toString(); |