Android 12首次启动应用的时候,会显示对话框,提示“使用任务栏切换应用”,如下图:
屏蔽这个指引只需修改packages/apps/Launcher3/src/com/android/launcher3/config/FeatureFlags.java中的ENABLE_TASKBAR_EDU初始值为false即可
- public static final BooleanFlag ENABLE_TASKBAR_EDU = getDebugFlag("ENABLE_TASKBAR_EDU", true,
+ public static final BooleanFlag ENABLE_TASKBAR_EDU = getDebugFlag("ENABLE_TASKBAR_EDU", false,
"Enables showing taskbar education the first time an app is opened.");