Upgrade oneplus

This commit is contained in:
Thomas Goureau 2018-08-17 11:50:35 +02:00
parent 4c98455a2a
commit f78177209b

View file

@ -16,6 +16,12 @@ public class OnePlus extends DeviceAbstract {
Build.FINGERPRINT.toLowerCase().contains(getDeviceManufacturer().toString());
}
// This is mandatory for new oneplus version android 8
@Override
public boolean needToUseAlongwithActionDoseMode(){
return true;
}
@Override
public Manufacturer getDeviceManufacturer() {
return Manufacturer.ONEPLUS;
@ -58,9 +64,4 @@ public class OnePlus extends DeviceAbstract {
public String getExtraDebugInformations(Context context) {
return null;
}
@Override
public int getHelpImagePowerSaving() {
return 0;
}
}