Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78cfd9aa authored by Sailesh Nepal's avatar Sailesh Nepal
Browse files

Switch hanodff broadcast from click to long press

Nova Wi-Fi calling allows you to switch between Wi-Fi and
cell by clicking on the status label.

Unfortunately many users are accidentally triggering this
with their face.

As a work around I'm switching the trigger from click to
long press.

Change-Id: I68d7c597cf4d74a3f6b5bfee06e470b4ddcfc1ee
parent 2b9b9d41
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -255,10 +255,11 @@ public class CallCardFragment extends BaseFragment<CallCardPresenter, CallCardPr
        });

        mCallStateButton = view.findViewById(R.id.callStateButton);
        mCallStateButton.setOnClickListener(new View.OnClickListener() {
        mCallStateButton.setOnLongClickListener(new View.OnLongClickListener() {
            @Override
            public void onClick(View v) {
            public boolean onLongClick(View v) {
                getPresenter().onCallStateButtonTouched();
                return false;
            }
        });