bugfix and bump version

This commit is contained in:
Riko Sakurauchi 2019-08-27 10:27:36 +08:00
parent 9b19ea224e
commit 2c8fb13400
No known key found for this signature in database
GPG Key ID: 25AC0345B92902AF
2 changed files with 3 additions and 3 deletions

View File

@ -255,7 +255,7 @@ android {
}
}
defaultConfig.versionCode = 1684
defaultConfig.versionCode = 1684 + 1
applicationVariants.all { variant ->
variant.outputs.all { output ->
@ -289,7 +289,7 @@ android {
defaultConfig {
minSdkVersion 16
targetSdkVersion 27
versionName "5.10.0"
versionName "5.10.0.1"
vectorDrawables.generatedDensities = ['mdpi', 'hdpi', 'xhdpi', 'xxhdpi']

View File

@ -1158,7 +1158,7 @@ public class LaunchActivity extends Activity implements ActionBarLayout.ActionBa
Integer channelId = null;
boolean hasUrl = false;
String scheme = data.getScheme();
boolean internal = intent.getExtras().get("internal") != null && (boolean) intent.getExtras().get("internal");
boolean internal = intent.getExtras() != null && intent.getExtras().get("internal") != null && (boolean) intent.getExtras().get("internal");
if (scheme != null) {
if ((scheme.equals("http") || scheme.equals("https"))) {
String host = data.getHost().toLowerCase();