mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Merge pull request #1928 from nextcloud/bugfix/noid/removeButterknife
remove unused butterknife binding
This commit is contained in:
commit
6cdce6db50
@ -74,10 +74,10 @@ import javax.inject.Inject;
|
|||||||
import androidx.annotation.Nullable;
|
import androidx.annotation.Nullable;
|
||||||
import androidx.annotation.RequiresApi;
|
import androidx.annotation.RequiresApi;
|
||||||
import autodagger.AutoInjector;
|
import autodagger.AutoInjector;
|
||||||
import butterknife.OnClick;
|
|
||||||
import io.reactivex.Observable;
|
import io.reactivex.Observable;
|
||||||
import io.reactivex.Observer;
|
import io.reactivex.Observer;
|
||||||
import io.reactivex.android.schedulers.AndroidSchedulers;
|
import io.reactivex.android.schedulers.AndroidSchedulers;
|
||||||
|
import io.reactivex.annotations.NonNull;
|
||||||
import io.reactivex.disposables.Disposable;
|
import io.reactivex.disposables.Disposable;
|
||||||
import io.reactivex.schedulers.Schedulers;
|
import io.reactivex.schedulers.Schedulers;
|
||||||
import okhttp3.Cache;
|
import okhttp3.Cache;
|
||||||
@ -196,8 +196,7 @@ public class CallNotificationActivity extends CallBaseActivity {
|
|||||||
binding.callAnswerVoiceOnlyView.setVisibility(View.VISIBLE);
|
binding.callAnswerVoiceOnlyView.setVisibility(View.VISIBLE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnClick(R.id.hangupButton)
|
private void hangup() {
|
||||||
void hangup() {
|
|
||||||
leavingScreen = true;
|
leavingScreen = true;
|
||||||
finish();
|
finish();
|
||||||
}
|
}
|
||||||
@ -226,12 +225,12 @@ public class CallNotificationActivity extends CallBaseActivity {
|
|||||||
.takeWhile(observable -> !leavingScreen))
|
.takeWhile(observable -> !leavingScreen))
|
||||||
.subscribe(new Observer<ParticipantsOverall>() {
|
.subscribe(new Observer<ParticipantsOverall>() {
|
||||||
@Override
|
@Override
|
||||||
public void onSubscribe(Disposable d) {
|
public void onSubscribe(@NonNull Disposable d) {
|
||||||
disposablesList.add(d);
|
disposablesList.add(d);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onNext(ParticipantsOverall participantsOverall) {
|
public void onNext(@NonNull ParticipantsOverall participantsOverall) {
|
||||||
boolean hasParticipantsInCall = false;
|
boolean hasParticipantsInCall = false;
|
||||||
boolean inCallOnDifferentDevice = false;
|
boolean inCallOnDifferentDevice = false;
|
||||||
List<Participant> participantList = participantsOverall.getOcs().getData();
|
List<Participant> participantList = participantsOverall.getOcs().getData();
|
||||||
@ -253,7 +252,7 @@ public class CallNotificationActivity extends CallBaseActivity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Throwable e) {
|
public void onError(@NonNull Throwable e) {
|
||||||
Log.e(TAG, "error while getPeersForCall", e);
|
Log.e(TAG, "error while getPeersForCall", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
DO NOT TOUCH; GENERATED BY DRONE
|
DO NOT TOUCH; GENERATED BY DRONE
|
||||||
<span class="mdl-layout-title">Lint Report: 1 error and 150 warnings</span>
|
<span class="mdl-layout-title">Lint Report: 1 error and 149 warnings</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user