diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/ActivityAssistInfo.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/ActivityAssistInfo.java index 93f473bbf..8944d092f 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/ActivityAssistInfo.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/ActivityAssistInfo.java @@ -20,8 +20,10 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.pm.ComponentNameBrief; +@Keep public class ActivityAssistInfo implements Parcelable { public ComponentNameBrief name; public int uid; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningAppProcessInfoCompat.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningAppProcessInfoCompat.java index c025dec99..c541420b0 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningAppProcessInfoCompat.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningAppProcessInfoCompat.java @@ -24,6 +24,9 @@ import java.util.Arrays; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class RunningAppProcessInfoCompat implements Parcelable { public String processName; public int pid; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningServiceInfoCompat.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningServiceInfoCompat.java index 93f2d03e8..48f69d02d 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningServiceInfoCompat.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/RunningServiceInfoCompat.java @@ -4,6 +4,7 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -13,6 +14,7 @@ @AllArgsConstructor @NoArgsConstructor @Getter +@Keep public final class RunningServiceInfoCompat implements Parcelable { private ComponentName componentName; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/component/ComponentReplacement.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/component/ComponentReplacement.java index 7cf1ee739..e179b7319 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/component/ComponentReplacement.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/component/ComponentReplacement.java @@ -3,8 +3,10 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.pm.ComponentNameBrief; +@Keep public final class ComponentReplacement implements Parcelable { public ComponentNameBrief from, to; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/event/ThanosEvent.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/event/ThanosEvent.java index 1ada12ddd..5931c5771 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/event/ThanosEvent.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/event/ThanosEvent.java @@ -4,6 +4,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public final class ThanosEvent implements Parcelable { private final Intent intent; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/start/StartRecord.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/start/StartRecord.java index 2fabeec7b..1f3bf3650 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/start/StartRecord.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/start/StartRecord.java @@ -3,6 +3,7 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -12,6 +13,7 @@ @AllArgsConstructor @Builder @ToString +@Keep public final class StartRecord implements Parcelable { private int method; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/PkgCpuUsageStats.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/PkgCpuUsageStats.java index 4cdc46582..075958fad 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/PkgCpuUsageStats.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/PkgCpuUsageStats.java @@ -20,8 +20,10 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.pm.Pkg; +@Keep public class PkgCpuUsageStats implements Parcelable { public Pkg pkg; public String cpuRatioString; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/ProcessCpuUsageStats.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/ProcessCpuUsageStats.java index 2fc247eaa..43b13a30b 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/ProcessCpuUsageStats.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/app/usage/ProcessCpuUsageStats.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class ProcessCpuUsageStats implements Parcelable { // Device total. public long totalTime; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/n/NotificationRecord.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/n/NotificationRecord.java index 4586c89b1..787660646 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/n/NotificationRecord.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/n/NotificationRecord.java @@ -3,6 +3,7 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.EqualsAndHashCode; @@ -16,6 +17,7 @@ @Setter @AllArgsConstructor @EqualsAndHashCode(of = {"pkgName", "when", "title", "content", "userId"}) +@Keep public final class NotificationRecord implements Parcelable { public static class Types { diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/net/TrafficStats.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/net/TrafficStats.java index 9a70c5895..1c77bf74d 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/net/TrafficStats.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/net/TrafficStats.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class TrafficStats implements Parcelable { public long rxBytes; public long txBytes; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/ProcessName.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/ProcessName.java index 1d82fe992..6b22aac00 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/ProcessName.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/ProcessName.java @@ -7,6 +7,9 @@ import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class ProcessName implements Parcelable { private final String name; private final int userId; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/SwapInfo.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/SwapInfo.java index da68139a5..4a9fd854b 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/SwapInfo.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/os/SwapInfo.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class SwapInfo implements Parcelable { public long totalSwap; public long freeSwap; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/plus/RR.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/plus/RR.java index 46267e742..b230635e5 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/plus/RR.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/plus/RR.java @@ -3,9 +3,12 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + /** * Remote res. */ +@Keep public final class RR implements Parcelable { public static final int SUCCESS = 0; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/AppInfo.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/AppInfo.java index 2d0f6a3a9..bab8e52dc 100755 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/AppInfo.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/AppInfo.java @@ -9,8 +9,10 @@ import java.util.Objects; import github.tornaco.android.thanos.core.annotation.DrawableRes; +import github.tornaco.android.thanos.core.annotation.Keep; import util.PinyinComparatorUtils; +@Keep public class AppInfo implements Parcelable, Comparable { public static final int STATE_ENABLED = 100; public static final int STATE_DISABLED_OR_HIDDEN = 200; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentInfo.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentInfo.java index 05a93bc49..03109c4f0 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentInfo.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentInfo.java @@ -4,6 +4,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class ComponentInfo implements Parcelable { private final String name; private final ComponentName componentName; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentNameBrief.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentNameBrief.java index 298b77c18..79845b4a8 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentNameBrief.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/ComponentNameBrief.java @@ -7,6 +7,9 @@ import com.google.gson.annotations.SerializedName; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class ComponentNameBrief implements Parcelable { @SerializedName("mPackage") private final String pkg; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/PackageSet.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/PackageSet.java index 35a65ab14..145541b71 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/PackageSet.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/PackageSet.java @@ -10,8 +10,10 @@ import java.util.List; import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; import util.CollectionUtils; +@Keep public class PackageSet implements Parcelable { private String label; private String id; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/Pkg.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/Pkg.java index cd1c6df14..ba81fd6c6 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/Pkg.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/pm/Pkg.java @@ -7,6 +7,9 @@ import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class Pkg implements Parcelable { private final String pkgName; private final int userId; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/SeenWakeLock.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/SeenWakeLock.java index 665b5de63..6a109d402 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/SeenWakeLock.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/SeenWakeLock.java @@ -5,6 +5,9 @@ import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class SeenWakeLock implements Parcelable { private String tag; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/WakeLockStats.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/WakeLockStats.java index 7df548c84..5c2081b60 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/WakeLockStats.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/power/WakeLockStats.java @@ -20,8 +20,10 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.pm.Pkg; +@Keep public class WakeLockStats implements Parcelable { public Pkg pkg; public int wakeLockCount; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/process/ProcessRecord.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/process/ProcessRecord.java index 102799912..0718f1b6e 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/process/ProcessRecord.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/process/ProcessRecord.java @@ -5,8 +5,10 @@ import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; import util.ObjectsUtils; +@Keep public class ProcessRecord implements Parcelable { private final String packageName; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/DanmuUISettings.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/DanmuUISettings.java index 6b696c911..fb77890ce 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/DanmuUISettings.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/DanmuUISettings.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class DanmuUISettings implements Parcelable { public static final int COLOR_AUTO = -1; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/GlobalVar.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/GlobalVar.java index 334f2d289..3f08410f7 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/GlobalVar.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/profile/GlobalVar.java @@ -10,8 +10,10 @@ import java.util.ArrayList; import java.util.List; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.annotation.Nullable; +@Keep public final class GlobalVar implements Parcelable { private static final Gson GSON = new GsonBuilder().setPrettyPrinting().create(); diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushChannel.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushChannel.java index cdfbc91ff..2d5a533ef 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushChannel.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushChannel.java @@ -7,12 +7,14 @@ import java.util.Arrays; import java.util.Objects; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.annotation.NonNull; import github.tornaco.android.thanos.core.util.ArrayUtils; import lombok.AllArgsConstructor; import lombok.Getter; import lombok.ToString; +@Keep public final class PushChannel implements Parcelable { public static final PushChannel FCM_GCM = new PushChannel(new String[]{ diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushMessage.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushMessage.java index 786940c45..4ecca30f7 100755 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushMessage.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/push/PushMessage.java @@ -7,6 +7,7 @@ import java.util.UUID; +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.core.annotation.Nullable; import github.tornaco.android.thanos.core.util.GsonUtils; import lombok.AllArgsConstructor; @@ -25,6 +26,7 @@ @Builder @NoArgsConstructor @AllArgsConstructor +@Keep public class PushMessage implements Parcelable { public static final int IMPORTANCE_MAX = 0; public static final int TYPE_APP_UPDATE = 0x1; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/PrivacyCheatRecord.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/PrivacyCheatRecord.java index 706eeee8c..184155f95 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/PrivacyCheatRecord.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/PrivacyCheatRecord.java @@ -3,6 +3,7 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -12,6 +13,7 @@ @Builder @AllArgsConstructor @NoArgsConstructor +@Keep public final class PrivacyCheatRecord implements Parcelable { private String packageName; private int op; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/field/Fields.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/field/Fields.java index c39399db9..66eb6ab8b 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/field/Fields.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/field/Fields.java @@ -4,6 +4,7 @@ import android.os.Parcelable; import android.text.TextUtils; +import github.tornaco.android.thanos.core.annotation.Keep; import lombok.AllArgsConstructor; import lombok.Builder; import lombok.Getter; @@ -16,6 +17,7 @@ @NoArgsConstructor @AllArgsConstructor @Builder +@Keep public final class Fields implements Parcelable { private String label; private String id; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/ops/SettingsAccessRecord.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/ops/SettingsAccessRecord.java index 68a86ebbc..4a09cac14 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/ops/SettingsAccessRecord.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/secure/ops/SettingsAccessRecord.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class SettingsAccessRecord implements Parcelable { public String name; public String value; diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/su/SuRes.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/su/SuRes.java index 53a75f8ac..c627a00df 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/su/SuRes.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/su/SuRes.java @@ -5,6 +5,9 @@ import java.util.List; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public final class SuRes implements Parcelable { /** * Shell result output. diff --git a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/wm/WindowState.java b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/wm/WindowState.java index 188fc3fdc..fd01ecd0f 100644 --- a/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/wm/WindowState.java +++ b/android/android_framework/base/src/main/java/github/tornaco/android/thanos/core/wm/WindowState.java @@ -20,6 +20,9 @@ import android.os.Parcel; import android.os.Parcelable; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class WindowState implements Parcelable { public String packageName; public int uid; diff --git a/android/internal/Thanox-Internal b/android/internal/Thanox-Internal index f08261410..e39125a22 160000 --- a/android/internal/Thanox-Internal +++ b/android/internal/Thanox-Internal @@ -1 +1 @@ -Subproject commit f082614109667f32152345d7c583251d2e3d5258 +Subproject commit e39125a22f8acba9439ca8e3791f96ec61e289f0 diff --git a/android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/section/StickyHeaderLayoutManager.java b/android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/section/StickyHeaderLayoutManager.java index 887917966..95c0dc2cc 100644 --- a/android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/section/StickyHeaderLayoutManager.java +++ b/android/modules/module_common/src/main/java/github/tornaco/android/thanos/widget/section/StickyHeaderLayoutManager.java @@ -10,6 +10,8 @@ import androidx.annotation.Nullable; import androidx.recyclerview.widget.LinearSmoothScroller; import androidx.recyclerview.widget.RecyclerView; + +import github.tornaco.android.thanos.core.annotation.Keep; import github.tornaco.android.thanos.module.common.R; import java.util.HashMap; @@ -967,6 +969,7 @@ protected int calculateTimeForScrolling(int dx) { } } + @Keep private static class SavedState implements Parcelable { int firstViewAdapterPosition = RecyclerView.NO_POSITION; diff --git a/android/modules/module_ops/src/main/java/github/tornaco/thanos/android/ops/model/Op.java b/android/modules/module_ops/src/main/java/github/tornaco/thanos/android/ops/model/Op.java index 05dc20451..5d5306389 100644 --- a/android/modules/module_ops/src/main/java/github/tornaco/thanos/android/ops/model/Op.java +++ b/android/modules/module_ops/src/main/java/github/tornaco/thanos/android/ops/model/Op.java @@ -5,6 +5,9 @@ import androidx.annotation.DrawableRes; +import github.tornaco.android.thanos.core.annotation.Keep; + +@Keep public class Op implements Parcelable { private String title; private String summary;