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

Commit 87ecd2ec authored by Mark Renouf's avatar Mark Renouf Committed by Automerger Merge Worker
Browse files

Merge "Hide contaminant dialog "Enable USB" button if not supported" am: f0937e77 am: e2be488e

parents e7bdf78d e2be488e
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -75,7 +75,12 @@ public class UsbContaminantActivity extends Activity implements View.OnClickList
            mLearnMore.setVisibility(View.VISIBLE);
        }

        if (!mUsbPort.supportsEnableContaminantPresenceDetection()) {
            mEnableUsb.setVisibility(View.GONE);
        } else {
            mEnableUsb.setOnClickListener(this);
        }

        mGotIt.setOnClickListener(this);
        mLearnMore.setOnClickListener(this);
    }