diff options
author | Andrew Lee <anwlee@google.com> | 2015-05-12 19:09:00 -0700 |
---|---|---|
committer | Andrew Lee <anwlee@google.com> | 2015-05-13 11:55:22 -0700 |
commit | 247df6ee4f43af916f7e7f339ed181a18807ef36 (patch) | |
tree | 5398368b42b5b18d525a8112eb7556dde0da42e7 /src/com/android/dialer/CallDetailActivity.java | |
parent | 8ba6e006159a887671862c314e94487c0fd5e8e0 (diff) |
Reorganize Intent utilities, add send SMS intent.
+ Rename CallIntentUtils.java to IntentUtil.java.
+ Consolidate various intent creation methods to new file, and update
referenes throughout the application.
Bug: 20433758
Change-Id: Iee9e37985217c38c816124d0e74dff40a2871680
Diffstat (limited to 'src/com/android/dialer/CallDetailActivity.java')
-rw-r--r-- | src/com/android/dialer/CallDetailActivity.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/com/android/dialer/CallDetailActivity.java b/src/com/android/dialer/CallDetailActivity.java index 0a295c4fe..735d6eb56 100644 --- a/src/com/android/dialer/CallDetailActivity.java +++ b/src/com/android/dialer/CallDetailActivity.java @@ -64,7 +64,7 @@ import com.android.dialer.calllog.PhoneNumberDisplayHelper; import com.android.dialer.calllog.PhoneNumberUtilsWrapper; import com.android.dialer.util.AsyncTaskExecutor; import com.android.dialer.util.AsyncTaskExecutors; -import com.android.dialer.util.CallIntentUtil; +import com.android.dialer.util.IntentUtil; import com.android.dialer.util.DialerUtils; import com.android.dialer.util.TelecomUtil; import com.android.dialer.voicemail.VoicemailPlaybackFragment; @@ -323,8 +323,9 @@ public class CallDetailActivity extends Activity implements ProximitySensorAware getSystemService(Context.TELEPHONY_SERVICE); if (tm.getCallState() == TelephonyManager.CALL_STATE_IDLE) { DialerUtils.startActivityWithErrorToast(this, - CallIntentUtil.getCallIntent(Uri.fromParts(PhoneAccount.SCHEME_TEL, - mNumber, null)), R.string.call_not_available); + IntentUtil.getCallIntent( + Uri.fromParts(PhoneAccount.SCHEME_TEL, mNumber, null)), + R.string.call_not_available); return true; } } |