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

Commit e2be488e 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

parents 2216b4cd f0937e77
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);
    }