Upgrade oneplus
This commit is contained in:
parent
4c98455a2a
commit
f78177209b
1 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue