v0.9.4: added an opt-in for betas in the update checker
This commit is contained in:
@@ -35,7 +35,12 @@ public class DebugUpdates extends UpdateService {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkForUpdate(boolean useMetered, UpdateResultCallback callback) {
|
||||
public boolean supportsBetaChannel() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void checkForUpdate(boolean useMetered, boolean includeBetas, UpdateResultCallback callback) {
|
||||
|
||||
if (!useMetered && !Game.platform.connectedToUnmeteredNetwork()){
|
||||
callback.onConnectionFailed();
|
||||
|
||||
Reference in New Issue
Block a user