diff options
author | Tyler Gunn <tgunn@google.com> | 2014-09-12 22:16:48 -0700 |
---|---|---|
committer | Tyler Gunn <tgunn@google.com> | 2014-09-12 22:16:48 -0700 |
commit | 4b293f0f08030c97e1bb54d2f79ac2fb1a6e29ae (patch) | |
tree | 3d08939fee48787580c0b215084162b578128ea1 /InCallUI/src/com/android/incallui/CallButtonPresenter.java | |
parent | 6861dc525e2caa9ced087e1c11ad0274e6e6ea12 (diff) |
Renaming Telecomm to Telecom.
- Changing package from android.telecomm to android.telecom
- Changing package from com.android.telecomm to
com.android.server.telecomm.
- Renaming TelecommManager to TelecomManager.
Bug: 17364651
Change-Id: Ie5ae18f51baa5da2eb9793785ad0c9d83b6343d1
Diffstat (limited to 'InCallUI/src/com/android/incallui/CallButtonPresenter.java')
-rw-r--r-- | InCallUI/src/com/android/incallui/CallButtonPresenter.java | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/InCallUI/src/com/android/incallui/CallButtonPresenter.java b/InCallUI/src/com/android/incallui/CallButtonPresenter.java index 57c90be29..f6228bc23 100644 --- a/InCallUI/src/com/android/incallui/CallButtonPresenter.java +++ b/InCallUI/src/com/android/incallui/CallButtonPresenter.java @@ -17,10 +17,10 @@ package com.android.incallui; import android.content.Context; -import android.telecomm.AudioState; -import android.telecomm.InCallService.VideoCall; -import android.telecomm.PhoneCapabilities; -import android.telecomm.VideoProfile; +import android.telecom.AudioState; +import android.telecom.InCallService.VideoCall; +import android.telecom.PhoneCapabilities; +import android.telecom.VideoProfile; import com.android.incallui.AudioModeProvider.AudioModeListener; @@ -134,7 +134,7 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto // if it turns out to be slow Log.d(this, "Sending new Audio Mode: " + AudioState.audioRouteToString(mode)); - TelecommAdapter.getInstance().setAudioRoute(mode); + TelecomAdapter.getInstance().setAudioRoute(mode); } /** @@ -162,7 +162,7 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto public void muteClicked(boolean checked) { Log.d(this, "turning on mute: " + checked); - TelecommAdapter.getInstance().mute(checked); + TelecomAdapter.getInstance().mute(checked); } public void holdClicked(boolean checked) { @@ -171,10 +171,10 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto } if (checked) { Log.i(this, "Putting the call on hold: " + mCall); - TelecommAdapter.getInstance().holdCall(mCall.getId()); + TelecomAdapter.getInstance().holdCall(mCall.getId()); } else { Log.i(this, "Removing the call from hold: " + mCall); - TelecommAdapter.getInstance().unholdCall(mCall.getId()); + TelecomAdapter.getInstance().unholdCall(mCall.getId()); } } @@ -184,11 +184,11 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto } Log.i(this, "Swapping the call: " + mCall); - TelecommAdapter.getInstance().swap(mCall.getId()); + TelecomAdapter.getInstance().swap(mCall.getId()); } public void mergeClicked() { - TelecommAdapter.getInstance().merge(mCall.getId()); + TelecomAdapter.getInstance().merge(mCall.getId()); } public void addCallClicked() { @@ -198,7 +198,7 @@ public class CallButtonPresenter extends Presenter<CallButtonPresenter.CallButto // Simulate a click on the mute button muteClicked(true); - TelecommAdapter.getInstance().addCall(); + TelecomAdapter.getInstance().addCall(); } public void changeToVoiceClicked() { |