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

Commit 47b9cb84 authored by Holly Sun's avatar Holly Sun
Browse files

[a11y] Change all apps screen name to All Apps instead of reusing Home.

Now even when we enter the All Apps page, talkback still reads the page name as Home (https://source.corp.google.com/h/googleplex-android/platform/superproject/main/+/main:packages/apps/Launcher3/src/com/android/launcher3/Launcher.java;l=586;drc=120838b04dcaf072704c6fb382ea9115672cfcaa).

Bug: 330470894
Bug: 333833220
Test: manual
Flag: NA
Change-Id: I32a1ce8844cd111c7d1c492ee0a39fec47858a47
parent f3296f80
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -1261,6 +1261,13 @@ public class Launcher extends StatefulActivity<LauncherState>
            getAllAppsExitEvent().ifPresent(getStatsLogManager().logger()::log);
            mAllAppsSessionLogId = null;
        }

        // Set screen title for Talkback
        if (state == ALL_APPS) {
            setTitle(R.string.all_apps_label);
        } else {
            setTitle(R.string.home_screen);
        }
    }

    /**