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/PostCharDialogFragment.java | |
parent | fc81a030a7b4f6d4a497f71aed593d398795e7da (diff) | |
parent | 183cb71663320f16149d83eeebaff7795a4b55f2 (diff) |
Merge "Remove field prefixes."
Diffstat (limited to 'java/com/android/incallui/PostCharDialogFragment.java')
-rw-r--r-- | java/com/android/incallui/PostCharDialogFragment.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/java/com/android/incallui/PostCharDialogFragment.java b/java/com/android/incallui/PostCharDialogFragment.java index a852f7683..4bcc68e33 100644 --- a/java/com/android/incallui/PostCharDialogFragment.java +++ b/java/com/android/incallui/PostCharDialogFragment.java @@ -32,28 +32,28 @@ public class PostCharDialogFragment extends DialogFragment { private static final String STATE_CALL_ID = "CALL_ID"; private static final String STATE_POST_CHARS = "POST_CHARS"; - private String mCallId; - private String mPostDialStr; + private String callId; + private String postDialStr; public PostCharDialogFragment() {} public PostCharDialogFragment(String callId, String postDialStr) { - mCallId = callId; - mPostDialStr = postDialStr; + this.callId = callId; + this.postDialStr = postDialStr; } @Override public Dialog onCreateDialog(Bundle savedInstanceState) { super.onCreateDialog(savedInstanceState); - if (mPostDialStr == null && savedInstanceState != null) { - mCallId = savedInstanceState.getString(STATE_CALL_ID); - mPostDialStr = savedInstanceState.getString(STATE_POST_CHARS); + if (postDialStr == null && savedInstanceState != null) { + callId = savedInstanceState.getString(STATE_CALL_ID); + postDialStr = savedInstanceState.getString(STATE_POST_CHARS); } final StringBuilder buf = new StringBuilder(); buf.append(getResources().getText(R.string.wait_prompt_str)); - buf.append(mPostDialStr); + buf.append(postDialStr); final AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); builder.setMessage(buf.toString()); @@ -63,7 +63,7 @@ public class PostCharDialogFragment extends DialogFragment { new DialogInterface.OnClickListener() { @Override public void onClick(DialogInterface dialog, int whichButton) { - TelecomAdapter.getInstance().postDialContinue(mCallId, true); + TelecomAdapter.getInstance().postDialContinue(callId, true); } }); builder.setNegativeButton( @@ -83,14 +83,14 @@ public class PostCharDialogFragment extends DialogFragment { public void onCancel(DialogInterface dialog) { super.onCancel(dialog); - TelecomAdapter.getInstance().postDialContinue(mCallId, false); + TelecomAdapter.getInstance().postDialContinue(callId, false); } @Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); - outState.putString(STATE_CALL_ID, mCallId); - outState.putString(STATE_POST_CHARS, mPostDialStr); + outState.putString(STATE_CALL_ID, callId); + outState.putString(STATE_POST_CHARS, postDialStr); } } |