Replace clearing an item from the downloads list with deleting the item.
Fix for http://b/issue?id=2367238
diff --git a/res/menu/downloadhistorycontextfinished.xml b/res/menu/downloadhistorycontextfinished.xml
index 2714b5b..8d1fdd0 100644
--- a/res/menu/downloadhistorycontextfinished.xml
+++ b/res/menu/downloadhistorycontextfinished.xml
@@ -18,7 +18,7 @@
<item android:id="@+id/download_menu_open"
android:title="@string/download_menu_open" />
- <item android:id="@+id/download_menu_clear"
- android:title="@string/download_menu_clear" />
+ <item android:id="@+id/download_menu_delete"
+ android:title="@string/download_menu_delete" />
</menu>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 7ee1164..d81e38d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -569,6 +569,8 @@
<!-- Context menu item on Download history screen -->
<string name="download_menu_clear">Clear from list</string>
<!-- Context menu item in Download history screen -->
+ <string name="download_menu_delete">Delete</string>
+ <!-- Context menu item in Download history screen -->
<string name="download_menu_cancel">Cancel download</string>
<!-- Menu item -->
<string name="download_menu_cancel_all">Cancel all downloads</string>
@@ -582,6 +584,8 @@
<string name="download_cancel_dlg_title">Cancel downloads</string>
<!-- Confirmation dialog message -->
<string name="download_cancel_dlg_msg">All <xliff:g id="download_count">%d</xliff:g> downloads will be canceled and cleared from the download history.</string>
+ <!-- Confirmation dialog title -->
+ <string name="download_delete_file">File will be deleted</string>
<!-- Dialog title -->
<string name="download_file_error_dlg_title">Out of space</string>
<!-- Dialog message -->