2015-07-24 15:56:33 -07:00
|
|
|
-keep,allowshrinking,allowoptimization class com.android.launcher3.** {
|
|
|
|
|
*;
|
|
|
|
|
}
|
|
|
|
|
|
2015-08-19 17:26:21 -07:00
|
|
|
-keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
|
|
|
|
|
public void setAlpha(int);
|
|
|
|
|
public int getAlpha();
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-16 13:35:04 -07:00
|
|
|
-keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
|
2015-08-18 17:43:02 -07:00
|
|
|
public void setThumbWidth(int);
|
|
|
|
|
public int getThumbWidth();
|
2015-08-20 12:23:52 -07:00
|
|
|
public void setTrackWidth(int);
|
|
|
|
|
public int getTrackWidth();
|
2015-06-16 13:35:04 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.BaseRecyclerViewFastScrollPopup {
|
|
|
|
|
public void setAlpha(float);
|
|
|
|
|
public float getAlpha();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.ButtonDropTarget {
|
|
|
|
|
public int getTextColor();
|
|
|
|
|
}
|
|
|
|
|
|
2013-06-05 22:57:57 -04:00
|
|
|
-keep class com.android.launcher3.CellLayout {
|
2010-09-03 14:15:02 -07:00
|
|
|
public float getBackgroundAlpha();
|
|
|
|
|
public void setBackgroundAlpha(float);
|
2010-09-29 10:10:05 -07:00
|
|
|
}
|
|
|
|
|
|
2015-06-16 13:35:04 -07:00
|
|
|
-keep class com.android.launcher3.CellLayout$LayoutParams {
|
2011-03-01 12:36:37 -08:00
|
|
|
public void setWidth(int);
|
|
|
|
|
public int getWidth();
|
|
|
|
|
public void setHeight(int);
|
|
|
|
|
public int getHeight();
|
|
|
|
|
public void setX(int);
|
|
|
|
|
public int getX();
|
|
|
|
|
public void setY(int);
|
|
|
|
|
public int getY();
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-19 20:50:49 -07:00
|
|
|
-keep class com.android.launcher3.views.BaseDragLayer$LayoutParams {
|
2011-04-21 16:19:16 -07:00
|
|
|
public void setWidth(int);
|
|
|
|
|
public int getWidth();
|
|
|
|
|
public void setHeight(int);
|
|
|
|
|
public int getHeight();
|
|
|
|
|
public void setX(int);
|
|
|
|
|
public int getX();
|
|
|
|
|
public void setY(int);
|
|
|
|
|
public int getY();
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-16 13:35:04 -07:00
|
|
|
-keep class com.android.launcher3.FastBitmapDrawable {
|
2015-08-21 11:16:27 -07:00
|
|
|
public void setDesaturation(float);
|
|
|
|
|
public float getDesaturation();
|
|
|
|
|
public void setBrightness(float);
|
|
|
|
|
public float getBrightness();
|
2010-11-19 10:22:19 -08:00
|
|
|
}
|
2013-06-17 14:25:46 -04:00
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.MemoryDumpActivity {
|
|
|
|
|
*;
|
|
|
|
|
}
|
2014-07-09 00:09:28 -07:00
|
|
|
|
|
|
|
|
-keep class com.android.launcher3.PreloadIconDrawable {
|
|
|
|
|
public float getAnimationProgress();
|
|
|
|
|
public void setAnimationProgress(float);
|
|
|
|
|
}
|
2014-11-10 16:01:44 -08:00
|
|
|
|
2016-07-27 12:48:09 -07:00
|
|
|
-keep class com.android.launcher3.pageindicators.CaretDrawable {
|
|
|
|
|
public float getCaretProgress();
|
|
|
|
|
public void setCaretProgress(float);
|
|
|
|
|
}
|
|
|
|
|
|
2015-06-16 13:35:04 -07:00
|
|
|
-keep class com.android.launcher3.Workspace {
|
|
|
|
|
public float getBackgroundAlpha();
|
|
|
|
|
public void setBackgroundAlpha(float);
|
2015-07-24 15:56:33 -07:00
|
|
|
}
|
2016-01-21 19:50:02 +00:00
|
|
|
|
|
|
|
|
# Proguard will strip new callbacks in LauncherApps.Callback from
|
|
|
|
|
# WrappedCallback if compiled against an older SDK. Don't let this happen.
|
|
|
|
|
-keep class com.android.launcher3.compat.** {
|
|
|
|
|
*;
|
|
|
|
|
}
|
|
|
|
|
|
2017-04-26 22:34:49 -07:00
|
|
|
-keep class com.android.launcher3.graphics.ShadowDrawable {
|
|
|
|
|
public <init>(...);
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-27 12:34:47 -07:00
|
|
|
# The support library contains references to newer platform versions.
|
|
|
|
|
# Don't warn about those in case this app is linking against an older
|
|
|
|
|
# platform version. We know about them, and they are safe.
|
|
|
|
|
-dontwarn android.support.**
|
|
|
|
|
|
2016-11-09 12:08:56 -08:00
|
|
|
# Proguard will strip methods required for talkback to properly scroll to
|
|
|
|
|
# next row when focus is on the last item of last row when using a RecyclerView
|
|
|
|
|
# Keep optimized and shrunk proguard to prevent issues like this when using
|
|
|
|
|
# support jar.
|
2016-11-09 19:30:06 -08:00
|
|
|
-keep class android.support.v7.widget.RecyclerView { *; }
|
2016-11-09 12:08:56 -08:00
|
|
|
|
2018-01-24 15:38:25 -08:00
|
|
|
# LauncherAppTransitionManager
|
|
|
|
|
-keep class com.android.launcher3.LauncherAppTransitionManagerImpl {
|
|
|
|
|
public <init>(...);
|
|
|
|
|
}
|
|
|
|
|
|
2018-03-02 17:25:59 -08:00
|
|
|
# InstantAppResolver
|
|
|
|
|
-keep class com.android.quickstep.InstantAppResolverImpl {
|
|
|
|
|
public <init>(...);
|
|
|
|
|
}
|
|
|
|
|
|
2018-04-09 09:23:11 -07:00
|
|
|
# MainProcessInitializer
|
|
|
|
|
-keep class com.android.quickstep.QuickstepProcessInitializer {
|
|
|
|
|
public <init>(...);
|
|
|
|
|
}
|
|
|
|
|
|
2016-11-23 02:24:32 +05:30
|
|
|
-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** {
|
|
|
|
|
*;
|
|
|
|
|
}
|
2017-05-17 13:18:54 -07:00
|
|
|
|
|
|
|
|
-keep interface com.android.launcher3.model.nano.LauncherDumpProto.** {
|
|
|
|
|
*;
|
|
|
|
|
}
|
2017-12-19 22:17:57 +01:00
|
|
|
|
|
|
|
|
# BUG(70852369): Surpress additional warnings after changing from Proguard to R8
|
|
|
|
|
-dontwarn android.app.**
|
|
|
|
|
-dontwarn android.view.**
|
|
|
|
|
-dontwarn android.os.**
|