summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/com/android/documentsui/ActionModeController.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/com/android/documentsui/ActionModeController.java b/src/com/android/documentsui/ActionModeController.java
index 49aeeab5c..1484c162d 100644
--- a/src/com/android/documentsui/ActionModeController.java
+++ b/src/com/android/documentsui/ActionModeController.java
@@ -76,6 +76,10 @@ public class ActionModeController extends SelectionObserver<String>
Log.d(TAG, "Starting action mode.");
}
mActionMode = mActivity.startActionMode(this);
+ final View closeButton = mActivity.findViewById(R.id.action_mode_close_button);
+ if (closeButton != null) {
+ closeButton.setContentDescription(mActivity.getString(android.R.string.cancel));
+ }
}
updateActionMenu();
} else {