2015-07-24 22:56:33 +00:00
|
|
|
-keep,allowshrinking,allowoptimization class com.android.launcher3.** {
|
|
|
|
*;
|
|
|
|
}
|
|
|
|
|
2015-08-20 00:26:21 +00:00
|
|
|
-keep class com.android.launcher3.allapps.AllAppsBackgroundDrawable {
|
|
|
|
public void setAlpha(int);
|
|
|
|
public int getAlpha();
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:35:04 +00:00
|
|
|
-keep class com.android.launcher3.BaseRecyclerViewFastScrollBar {
|
2015-08-19 00:43:02 +00:00
|
|
|
public void setThumbWidth(int);
|
|
|
|
public int getThumbWidth();
|
2015-08-20 19:23:52 +00:00
|
|
|
public void setTrackWidth(int);
|
|
|
|
public int getTrackWidth();
|
2015-06-16 20:35:04 +00: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-06 02:57:57 +00:00
|
|
|
-keep class com.android.launcher3.CellLayout {
|
2010-09-03 21:15:02 +00:00
|
|
|
public float getBackgroundAlpha();
|
|
|
|
public void setBackgroundAlpha(float);
|
2010-09-29 17:10:05 +00:00
|
|
|
}
|
|
|
|
|
2015-06-16 20:35:04 +00:00
|
|
|
-keep class com.android.launcher3.CellLayout$LayoutParams {
|
2011-03-01 20:36:37 +00: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-20 03:50:49 +00:00
|
|
|
-keep class com.android.launcher3.views.BaseDragLayer$LayoutParams {
|
2011-04-21 23:19:16 +00: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 20:35:04 +00:00
|
|
|
-keep class com.android.launcher3.FastBitmapDrawable {
|
2015-08-21 18:16:27 +00:00
|
|
|
public void setDesaturation(float);
|
|
|
|
public float getDesaturation();
|
|
|
|
public void setBrightness(float);
|
|
|
|
public float getBrightness();
|
2010-11-19 18:22:19 +00:00
|
|
|
}
|
2013-06-17 18:25:46 +00:00
|
|
|
|
|
|
|
-keep class com.android.launcher3.MemoryDumpActivity {
|
|
|
|
*;
|
|
|
|
}
|
2014-07-09 07:09:28 +00:00
|
|
|
|
|
|
|
-keep class com.android.launcher3.PreloadIconDrawable {
|
|
|
|
public float getAnimationProgress();
|
|
|
|
public void setAnimationProgress(float);
|
|
|
|
}
|
2014-11-11 00:01:44 +00:00
|
|
|
|
2016-07-27 19:48:09 +00:00
|
|
|
-keep class com.android.launcher3.pageindicators.CaretDrawable {
|
|
|
|
public float getCaretProgress();
|
|
|
|
public void setCaretProgress(float);
|
|
|
|
}
|
|
|
|
|
2015-06-16 20:35:04 +00:00
|
|
|
-keep class com.android.launcher3.Workspace {
|
|
|
|
public float getBackgroundAlpha();
|
|
|
|
public void setBackgroundAlpha(float);
|
2015-07-24 22:56:33 +00: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-27 05:34:49 +00:00
|
|
|
-keep class com.android.launcher3.graphics.ShadowDrawable {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2017-09-27 19:34:47 +00: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 20:08:56 +00: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-10 03:30:06 +00:00
|
|
|
-keep class android.support.v7.widget.RecyclerView { *; }
|
2016-11-09 20:08:56 +00:00
|
|
|
|
2018-01-24 23:38:25 +00:00
|
|
|
# LauncherAppTransitionManager
|
|
|
|
-keep class com.android.launcher3.LauncherAppTransitionManagerImpl {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2018-03-03 01:25:59 +00:00
|
|
|
# InstantAppResolver
|
|
|
|
-keep class com.android.quickstep.InstantAppResolverImpl {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2018-04-09 16:23:11 +00:00
|
|
|
# MainProcessInitializer
|
|
|
|
-keep class com.android.quickstep.QuickstepProcessInitializer {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2018-05-31 00:35:24 +00:00
|
|
|
# UserEventDispatcherExtension
|
|
|
|
-keep class com.android.quickstep.logging.UserEventDispatcherExtension {
|
|
|
|
public <init>(...);
|
|
|
|
}
|
|
|
|
|
2016-11-22 20:54:32 +00:00
|
|
|
-keep interface com.android.launcher3.userevent.nano.LauncherLogProto.** {
|
|
|
|
*;
|
|
|
|
}
|
2017-05-17 20:18:54 +00:00
|
|
|
|
|
|
|
-keep interface com.android.launcher3.model.nano.LauncherDumpProto.** {
|
|
|
|
*;
|
|
|
|
}
|
2017-12-19 21:17:57 +00:00
|
|
|
|
2018-05-22 18:20:16 +00:00
|
|
|
# Discovery bounce animation
|
|
|
|
-keep class com.android.launcher3.allapps.DiscoveryBounce$VerticalProgressWrapper {
|
|
|
|
public void setProgress(float);
|
|
|
|
public float getProgress();
|
|
|
|
}
|
|
|
|
|
2017-12-19 21:17:57 +00:00
|
|
|
# BUG(70852369): Surpress additional warnings after changing from Proguard to R8
|
|
|
|
-dontwarn android.app.**
|
|
|
|
-dontwarn android.view.**
|
|
|
|
-dontwarn android.os.**
|