Commit 7b0de477 authored by dmurph's avatar dmurph Committed by Commit bot
Browse files

[ImportantStorage] Clear button string update and lint fixes.

BUG=623259

Review-Url: https://codereview.chromium.org/2093373004
Cr-Commit-Position: refs/heads/master@{#402323}
parent c249251a
......@@ -26,6 +26,8 @@
android:padding="2dp"/>
<ImageView
android:id="@+id/icon_row_image"
android:importantForAccessibility="no"
android:contentDescription="@null"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:gravity="center_vertical"
......
......@@ -12,7 +12,7 @@
<LinearLayout
android:id="@+id/main_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:orientation="vertical"
......@@ -37,6 +37,7 @@
android:id="@+id/unimportant_site_data_size_prefix"
android:text="@string/storage_management_unimportant_site_data_size_label"
android:layout_weight="1"
android:layout_width="0dp"
style="@style/ManageSpaceActivitySizeTextView" />
<TextView
......@@ -66,6 +67,7 @@
android:id="@+id/site_data_size_prefix"
android:text="@string/storage_management_site_data_size_label"
android:layout_weight="1"
android:layout_width="0dp"
style="@style/ManageSpaceActivitySizeTextView" />
<TextView
......
......@@ -280,7 +280,8 @@ public class ConfirmImportantSitesDialogFragment extends DialogFragment {
final AlertDialog.Builder builder =
new AlertDialog.Builder(getActivity(), R.style.AlertDialogTheme)
.setTitle(R.string.storage_clear_site_storage_title)
.setPositiveButton(R.string.clear_data_delete, listener)
.setPositiveButton(R.string.clear_browsing_data_important_dialog_button,
listener)
.setNegativeButton(R.string.cancel, listener)
.setView(messageAndListView);
mDialog = builder.create();
......
......@@ -517,6 +517,9 @@ Your Google account may have other forms of browsing history like searches and a
<message name="IDS_CLEAR_BROWSING_DATA_IMPORTANT_DIALOG_TEXT" desc="The text of the dialog presenting the user with 'important' sites that they can exclude from clearing.">
This will clear data for all sites, including:
</message>
<message name="IDS_CLEAR_BROWSING_DATA_IMPORTANT_DIALOG_BUTTON" desc="The text of the button to perform the clear action in the dialog presenting the user with 'important' sites that they can exclude from clearing.">
Clear
</message>
<message name="IDS_USAGE_AND_CRASH_REPORTS_TITLE" desc="Title for 'Usage and crash reports' preference">
Usage and crash reports
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment