diff --git a/app/build.gradle b/app/build.gradle index 2116274..ee5e348 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -53,7 +53,7 @@ repositories { } dependencies { - implementation('com.ciscowebex:androidsdk:2.1.0@aar', { + implementation('com.ciscowebex:androidsdk:2.1.1@aar', { transitive = true changing = true }) diff --git a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/toggleSpeakerAction.java b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/ToggleSpeakerAction.java similarity index 94% rename from app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/toggleSpeakerAction.java rename to app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/ToggleSpeakerAction.java index af49a75..40e8c7e 100644 --- a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/toggleSpeakerAction.java +++ b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/actions/commands/ToggleSpeakerAction.java @@ -33,11 +33,11 @@ * Created on 19/09/2017. */ -public class toggleSpeakerAction implements IAction { +public class ToggleSpeakerAction implements IAction { private boolean on; private Context context; - public toggleSpeakerAction(Context context, boolean on) { + public ToggleSpeakerAction(Context context, boolean on) { this.context = context; this.on = on; } diff --git a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/CallFragment.java b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/CallFragment.java index 4e736a0..70210da 100644 --- a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/CallFragment.java +++ b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/CallFragment.java @@ -49,7 +49,7 @@ import com.ciscowebex.androidsdk.kitchensink.actions.WebexAgent; import com.ciscowebex.androidsdk.kitchensink.actions.commands.AddCallHistoryAction; import com.ciscowebex.androidsdk.kitchensink.actions.commands.RequirePermissionAction; -import com.ciscowebex.androidsdk.kitchensink.actions.commands.toggleSpeakerAction; +import com.ciscowebex.androidsdk.kitchensink.actions.commands.ToggleSpeakerAction; import com.ciscowebex.androidsdk.kitchensink.actions.events.AnswerEvent; import com.ciscowebex.androidsdk.kitchensink.actions.events.DialEvent; import com.ciscowebex.androidsdk.kitchensink.actions.events.HangupEvent; @@ -316,7 +316,7 @@ public void onSwitchCallAbility(Switch s) { @OnCheckedChanged(R.id.switchLoudSpeaker) public void onSwitchLoudSpeakerChanged(Switch s) { - new toggleSpeakerAction(getActivity(), s.isChecked()).execute(); + new ToggleSpeakerAction(getActivity(), s.isChecked()).execute(); } @OnClick(R.id.radioBackCam) diff --git a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/SetupFragment.java b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/SetupFragment.java index a279cb0..3e0c9a2 100644 --- a/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/SetupFragment.java +++ b/app/src/main/java/com/ciscowebex/androidsdk/kitchensink/launcher/fragments/SetupFragment.java @@ -32,7 +32,7 @@ import com.ciscowebex.androidsdk.kitchensink.R; import com.ciscowebex.androidsdk.kitchensink.actions.WebexAgent; import com.ciscowebex.androidsdk.kitchensink.actions.commands.RequirePermissionAction; -import com.ciscowebex.androidsdk.kitchensink.actions.commands.toggleSpeakerAction; +import com.ciscowebex.androidsdk.kitchensink.actions.commands.ToggleSpeakerAction; import com.ciscowebex.androidsdk.kitchensink.actions.events.PermissionAcquiredEvent; import com.ciscowebex.androidsdk.kitchensink.ui.BaseFragment; @@ -162,7 +162,7 @@ public void onSelectCamera(View v) { @OnCheckedChanged(R.id.setupLoudSpeaker) public void onSetupLoadSpeakerChanged(Switch s) { - new toggleSpeakerAction(getActivity(), s.isChecked() ? true : false).execute(); + new ToggleSpeakerAction(getActivity(), s.isChecked() ? true : false).execute(); } private void closeCamera() { diff --git a/app/src/main/res/layout/fragment_call_feedback.xml b/app/src/main/res/layout/fragment_call_feedback.xml index 367a41b..a5de2d9 100644 --- a/app/src/main/res/layout/fragment_call_feedback.xml +++ b/app/src/main/res/layout/fragment_call_feedback.xml @@ -68,7 +68,7 @@ android:background="@drawable/border" android:ems="10" android:inputType="textMultiLine" - app:layout_constraintBottom_toTopOf="@+id/textView6" + app:layout_constraintBottom_toTopOf="@+id/sendFeedback" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintLeft_toLeftOf="parent" app:layout_constraintRight_toRightOf="parent" @@ -103,31 +103,4 @@ app:layout_constraintTop_toTopOf="@+id/sendFeedback" app:layout_constraintVertical_bias="0.0" /> - - -