A16系统-去掉长按桌面图标弹出的分享应用按钮,修改如下:(packages/apps/Launcher3 目录)
diff --git a/go/quickstep/src/com/android/launcher3/AppSharing.java b/go/quickstep/src/com/android/launcher3/AppSharing.java
index a97feccfe1..48a9f55c62 100644
--- a/go/quickstep/src/com/android/launcher3/AppSharing.java
+++ b/go/quickstep/src/com/android/launcher3/AppSharing.java
@@ -62,7 +62,7 @@ public final class AppSharing {
* This flag enables this feature. It is defined here rather than in launcher3's FeatureFlags
* because it is unique to Go and not toggleable at runtime.
*/
- public static final boolean ENABLE_APP_SHARING = true;
+ public static final boolean ENABLE_APP_SHARING = false;
/**
* With this flag enabled, the Share App button will be dynamically enabled/disabled based
* on each app's shareability status.

317

被折叠的 条评论
为什么被折叠?



