Add Taskbar education for Circle to Search for pinned taskbar

This change adds a new education tooltip for pinned taskbar that teaches
users how to use Circle to Search invoked through the action key. It won't run on
transient taskbar or if the user is in 3 button mode. The disclosures at
the bottom of the tooltip link to localized legal agreements for the feature.

Fix: 330401405
Test: Pin the taskbar and observe that the next time an app is launched
the edu shows up. After dismissal it shouldn't show up again.
Additionally, click on the disclosures and ensure they launch.
Flag: ACONFIG com.android.launcher3.enable_taskbar_pinning NEXTFOOD

Change-Id: I64aea3004aca77c3ec81b81dea0cfab7a9c1e272
This commit is contained in:
Saumya Prakash committed 2024-04-06 01:52:49 +00:00
1 parent bc657f64c3
commit 5453c053b9
7 files changed
+184

No files matched your search

@@ -299,6 +299,8 @@ public class LauncherTaskbarUIController extends TaskbarUIController {
*/
public void showEduOnAppLaunch() {
if (!shouldShowEduOnAppLaunch()) {
// Called in case the edu finishes and circle to search edu is still pending
mControllers.taskbarEduTooltipController.maybeShowCircleToSearchEdu();
return;
}