Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca0b1a00 authored by Ben Lin's avatar Ben Lin Committed by android-build-merger
Browse files

Merge "Reset window title back to activity title when selection finishes." into oc-dev

am: de4ee418

Change-Id: Ia7bf7d2ed57224ea6641e14be5b5a4737ebee776
parents 9f72a6fb de4ee418
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -140,6 +140,9 @@ public class ActionModeController
        mSelectionMgr.clearSelection();
        mSelected.clear();

        // Reset window title back to activity title, i.e. Root name
        mActivity.getWindow().setTitle(mActivity.getTitle());

        // Re-enable TalkBack for the toolbars, as they are no longer covered by action mode.
        mScope.accessibilityImportanceSetter.setAccessibilityImportance(
                View.IMPORTANT_FOR_ACCESSIBILITY_AUTO, R.id.toolbar, R.id.roots_toolbar);