Skip to content

Instantly share code, notes, and snippets.

View 17603127956's full-sized avatar

youcai 17603127956

View GitHub Profile
@17603127956
17603127956 / aosp.patch
Created October 8, 2024 09:14 — forked from CFM880/aosp.patch
AOSP检测隐私政策patch
project frameworks/base/
diff --git a/core/java/android/app/Activity.java b/core/java/android/app/Activity.java
index db5dcc5c264b..404db6dfaf64 100644
--- a/core/java/android/app/Activity.java
+++ b/core/java/android/app/Activity.java
@@ -741,6 +741,7 @@ public class Activity extends ContextThemeWrapper
OnCreateContextMenuListener, ComponentCallbacks2,
Window.OnWindowDismissedCallback,
AutofillManager.AutofillClient, ContentCaptureManager.ContentCaptureClient {