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

Commit c46a0472 authored by Automerger Merge Worker's avatar Automerger Merge Worker Committed by Android (Google) Code Review
Browse files

Merge "Merge "Hide contaminant dialog "Enable USB" button if not supported"...

Merge "Merge "Hide contaminant dialog "Enable USB" button if not supported" am: f0937e77 am: e2be488e am: 87ecd2ec am: d6f466e3" into udc-d1-dev-plus-aosp
parents 2e3deb01 8611f4a4
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);
    }