Skip to content

Commit

Permalink
Release 5.1.5 (179)
Browse files Browse the repository at this point in the history
  • Loading branch information
devgianlu committed Jun 16, 2019
1 parent e94e0e4 commit dc3d1d8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ android {
applicationId "com.gianlu.aria2app"
minSdkVersion 21
targetSdkVersion 28
versionCode 178
versionName "5.1.4"
versionCode 179
versionName "5.1.5"
}

buildTypes {
Expand Down
1 change: 1 addition & 0 deletions app/src/main/java/com/gianlu/aria2app/Utils.java
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public final class Utils {
public static final String ACTION_NEW_BATCH = "new_batch_add";
public static final String ACTION_INTERCEPTED_WEBVIEW = "intercepted_webview";
public static final String ACTION_USE_IN_APP_DOWNLOADER = "use_in_app_downloader";
public static final String ACTION_WEBVIEW_SET_HOMEPAGE = "set_webview_homepage";
private static final Collection<String> streamableMimeTypes = new HashSet<>();

static {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import com.gianlu.aria2app.LoadingActivity;
import com.gianlu.aria2app.PK;
import com.gianlu.aria2app.R;
import com.gianlu.aria2app.ThisApplication;
import com.gianlu.aria2app.Utils;
import com.gianlu.commonutils.Analytics.AnalyticsApplication;
import com.gianlu.commonutils.Dialogs.ActivityWithDialog;
Expand Down Expand Up @@ -229,6 +230,7 @@ private void showGoToDialog(boolean compulsory) {
.setNeutralButton(R.string.setAsDefault, (dialog, which) -> {
Prefs.putString(PK.WEBVIEW_HOMEPAGE, guessUrl(input.getText().toString()));
web.loadUrl(guessUrl(input.getText().toString()));
ThisApplication.sendAnalytics(Utils.ACTION_WEBVIEW_SET_HOMEPAGE);
})
.setPositiveButton(R.string.visit, (dialog, which) -> web.loadUrl(guessUrl(input.getText().toString())));

Expand Down

0 comments on commit dc3d1d8

Please sign in to comment.