28 lines
1.7 KiB
Diff
28 lines
1.7 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Daniel Micay <danielmicay@gmail.com>
|
|
Date: Fri, 28 Jun 2019 17:48:49 -0400
|
|
Subject: [PATCH] show download prompt again by default
|
|
|
|
---
|
|
.../download/dialogs/DownloadLocationDialogCoordinator.java | 5 +----
|
|
1 file changed, 1 insertion(+), 4 deletions(-)
|
|
|
|
diff --git a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
|
index 33bf3003820f6..f5aeac768a2f1 100644
|
|
--- a/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
|
+++ b/chrome/browser/download/android/java/src/org/chromium/chrome/browser/download/dialogs/DownloadLocationDialogCoordinator.java
|
|
@@ -177,12 +177,9 @@ public class DownloadLocationDialogCoordinator implements ModalDialogProperties.
|
|
}
|
|
|
|
private PropertyModel getLocationDialogModel() {
|
|
- boolean isInitial = DownloadDialogBridge.getPromptForDownloadAndroid()
|
|
- == DownloadPromptStatus.SHOW_INITIAL;
|
|
-
|
|
PropertyModel.Builder builder =
|
|
new PropertyModel.Builder(DownloadLocationDialogProperties.ALL_KEYS);
|
|
- builder.with(DownloadLocationDialogProperties.DONT_SHOW_AGAIN_CHECKBOX_CHECKED, isInitial);
|
|
+ builder.with(DownloadLocationDialogProperties.DONT_SHOW_AGAIN_CHECKBOX_CHECKED, false);
|
|
builder.with(
|
|
DownloadLocationDialogProperties.FILE_NAME, new File(mSuggestedPath).getName());
|
|
builder.with(DownloadLocationDialogProperties.SHOW_SUBTITLE, true);
|