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

Commit 859e42fc authored by Ben Lin's avatar Ben Lin
Browse files

Reset window title back to activity title when selection finishes.

Test: Manually test, title gets announced.
Bug: 36808325
Change-Id: I1bbbe4f71e93c6377be398cfaf7fefd29c78a8bf
(cherry picked from commit e7ac7d73)
parent ffeeceaa
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);