summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Treehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com> 2023-05-22 17:22:38 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2023-05-22 17:22:38 +0000
commit7591dd408db2d2ecef3ef8159d436f5409220b64 (patch)
tree0eaa22026cec2a3f0ce1b89b42c28c0446c7ced1
parent65ca1b5719e06a9578c373abadfbe31c30bbde04 (diff)
parentf7893cc6086cacf0076ee7ce75367c3ff1f04a49 (diff)
Merge "Remove unnecessary system_server keep rules"
-rw-r--r--services/proguard.flags13
1 files changed, 0 insertions, 13 deletions
diff --git a/services/proguard.flags b/services/proguard.flags
index 4c2830e5c447..85d05afdccc6 100644
--- a/services/proguard.flags
+++ b/services/proguard.flags
@@ -42,19 +42,6 @@
-keep,allowoptimization,allowaccessmodification class * extends android.os.IInterface
-keep,allowoptimization,allowaccessmodification class * extends android.os.IHwInterface
-# Global entities normally kept through explicit Manifest entries
-# TODO(b/210510433): Revisit and consider generating from frameworks/base/core/res/AndroidManifest.xml,
-# by including that manifest with the library rule that triggers optimization.
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.app.Activity
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.app.Service
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.app.backup.BackupAgent
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.content.BroadcastReceiver
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.content.ContentProvider
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.preference.Preference
--keep,allowoptimization,allowaccessmodification class com.android.server.** extends android.view.View {
- public <init>(...);
-}
-
# Various classes subclassed in or referenced via JNI in ethernet-service
-keep public class android.net.** { *; }
-keep,allowoptimization,allowaccessmodification class com.android.net.module.util.* { *; }