Skip to content

Commit

Permalink
Update to 2.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
kliu committed Jul 24, 2019
1 parent 8d6c31e commit a58678e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 35 deletions.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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() {
Expand Down
29 changes: 1 addition & 28 deletions app/src/main/res/layout/fragment_call_feedback.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -103,31 +103,4 @@
app:layout_constraintTop_toTopOf="@+id/sendFeedback"
app:layout_constraintVertical_bias="0.0" />

<TextView
android:id="@+id/textView6"
android:layout_width="wrap_content"
android:layout_height="24dp"
android:layout_marginLeft="16dp"
android:layout_marginStart="32dp"
android:text="Include logs"
android:textColor="@android:color/holo_blue_light"
app:layout_constraintHorizontal_chainStyle="spread_inside"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/switch1"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toTopOf="@+id/sendFeedback" />

<Switch
android:id="@+id/switch1"
android:layout_width="wrap_content"
android:layout_height="27dp"
android:layout_marginEnd="32dp"
android:layout_marginRight="16dp"
android:checked="false"
android:minHeight="64dp"
app:layout_constraintBottom_toBottomOf="@+id/textView6"
app:layout_constraintLeft_toRightOf="@+id/textView6"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/textView6"
app:layout_constraintVertical_bias="0.0" />
</android.support.constraint.ConstraintLayout>

0 comments on commit a58678e

Please sign in to comment.