@@ -0,0 +1,2010 @@
+/*  Copyright (C) 2017 Andreas Shimokawa, Joa%CC%83o Paulo Barraca%0A%0A    This file is part of Gadgetbridge.%0A%0A    Gadgetbridge is free software: you can redistribute it and/or modify%0A    it under the terms of the GNU Affero General Public License as published%0A    by the Free Software Foundation, either version 3 of the License, or%0A    (at your option) any later version.%0A%0A    Gadgetbridge is distributed in the hope that it will be useful,%0A    but WITHOUT ANY WARRANTY; without even the implied warranty of%0A    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A    GNU Affero General Public License for more details.%0A%0A    You should have received a copy of the GNU Affero General Public License%0A    along with this program.  If not, see %3Chttp://www.gnu.org/licenses/%3E. */%0Apackage nodomain.freeyourgadget.gadgetbridge.devices.huami.miband2;%0A%0Aimport android.bluetooth.BluetoothDevice;%0Aimport android.content.Context;%0Aimport android.net.Uri;%0Aimport android.support.annotation.NonNull;%0A%0Aimport org.slf4j.Logger;%0Aimport org.slf4j.LoggerFactory;%0A%0Aimport nodomain.freeyourgadget.gadgetbridge.devices.InstallHandler;%0Aimport nodomain.freeyourgadget.gadgetbridge.impl.GBDeviceCandidate;%0Aimport nodomain.freeyourgadget.gadgetbridge.model.DeviceType;%0A%0Apublic class MiBand2HRXCoordinator extends MiBand2Coordinator %7B%0A    private static final Logger LOG = LoggerFactory.getLogger(MiBand2HRXCoordinator.class);%0A%0A    @NonNull%0A    @Override%0A    public DeviceType getSupportedType(GBDeviceCandidate candidate) %7B%0A        try %7B%0A            BluetoothDevice device = candidate.getDevice();%0A            String name = device.getName();%0A            if (name != null && name.equalsIgnoreCase(%22Mi Band HRX%22)) %7B%0A                return DeviceType.MIBAND2;%0A            %7D%0A        %7D catch (Exception ex) %7B%0A            LOG.error(%22unable to check device support%22, ex);%0A        %7D%0A        return DeviceType.UNKNOWN;%0A    %7D%0A%0A    @Override%0A    public InstallHandler findInstallHandler(Uri uri, Context context) %7B%0A        return null;%0A    %7D%0A%7D%0A

add missing file