Skip to content
Snippets Groups Projects
Commit e983f5d5 authored by Jared Duke's avatar Jared Duke
Browse files

Clean up unnecessary proguard files in frameworks/base

Delete proguard files that are either unused or redundant with
global or aapt-generated proguard flags. This change is a no-op.

Bug: 248580093
Change-Id: I6dcb3fb9584e9a15ac66104df6696780c166054d
Test: m + verify identical builds
parent 22f11911
No related branches found
No related tags found
No related merge requests found
-keep public class * {
public void setBackgroundAlpha(float);
public float getBackgroundAlpha();
public void setContentAlpha(float);
public float getContentAlpha();
public void setAlpha(float);
public float getAlpha();
public void setAlpha(int);
public int getAlpha();
public void setRotationX(float);
public float getRotationX();
public void setRotationY(float);
public float getRotationY();
public void setPivotX(float);
public float getPivotX();
public void setPivotY(float);
public float getPivotY();
public void setScaleX(float);
public float getScaleX();
public void setScaleY(float);
public float getScaleY();
public void setTranslationX(float);
public float getTranslationX();
public void setTranslationY(float);
public float getTranslationY();
}
......@@ -27,9 +27,6 @@ android_app {
name: "SharedStorageBackup",
defaults: ["platform_app_defaults"],
srcs: ["src/**/*.java"],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
platform_apis: true,
certificate: "platform",
privileged: true,
......
-keep class com.android.sharedstoragebackup.SharedStorageAgent
-keep class com.android.sharedstoragebackup.ObbBackupService
......@@ -27,9 +27,6 @@ android_app {
name: "WallpaperBackup",
defaults: ["platform_app_defaults"],
srcs: ["src/**/*.java"],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
platform_apis: true,
certificate: "platform",
privileged: false,
......
-keep class com.android.wallpaperbackup.WallpaperBackupAgent
......@@ -14,7 +14,7 @@ android {
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt')
}
}
}
......
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment