v2.2.0: removed support for android instant apps
This commit is contained in:
@@ -29,7 +29,7 @@ public class DebugUpdates extends UpdateService {
|
||||
private static AvailableUpdateData debugUpdateInfo;
|
||||
|
||||
@Override
|
||||
public boolean isUpdateable() {
|
||||
public boolean supportsUpdatePrompts() {
|
||||
return false; //turn on to debug update prompts
|
||||
}
|
||||
|
||||
@@ -59,16 +59,6 @@ public class DebugUpdates extends UpdateService {
|
||||
Game.platform.openURI( update.URL );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInstallable() {
|
||||
return false; //turn on to test install prompts
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initializeInstall() {
|
||||
//does nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsReviews() {
|
||||
return false; //turn on to debug review prompts
|
||||
|
||||
@@ -38,7 +38,7 @@ public class GitHubUpdates extends UpdateService {
|
||||
private static Pattern versionCodePattern = Pattern.compile("internal version number: ([0-9]*)", Pattern.CASE_INSENSITIVE);
|
||||
|
||||
@Override
|
||||
public boolean isUpdateable() {
|
||||
public boolean supportsUpdatePrompts() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -127,16 +127,6 @@ public class GitHubUpdates extends UpdateService {
|
||||
Game.platform.openURI( update.URL );
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isInstallable() {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void initializeInstall() {
|
||||
//does nothing, always installed
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean supportsReviews() {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user