Loading app/src/main/java/foundation/e/apps/utils/ProtobufExclusionStrategy.ktdeleted 100644 → 0 +0 −17 Original line number Diff line number Diff line package foundation.e.apps.utils import com.google.gson.ExclusionStrategy import com.google.gson.FieldAttributes object ProtobufExclusionStrategy : ExclusionStrategy { override fun shouldSkipField(field: FieldAttributes?): Boolean { if (field == null) return false val protobufClass = "com.google.protobuf" return field.declaredType.typeName.startsWith(protobufClass) || field.declaringClass.typeName.startsWith(protobufClass) } override fun shouldSkipClass(clazz: Class<*>?): Boolean = false } Loading
app/src/main/java/foundation/e/apps/utils/ProtobufExclusionStrategy.ktdeleted 100644 → 0 +0 −17 Original line number Diff line number Diff line package foundation.e.apps.utils import com.google.gson.ExclusionStrategy import com.google.gson.FieldAttributes object ProtobufExclusionStrategy : ExclusionStrategy { override fun shouldSkipField(field: FieldAttributes?): Boolean { if (field == null) return false val protobufClass = "com.google.protobuf" return field.declaredType.typeName.startsWith(protobufClass) || field.declaringClass.typeName.startsWith(protobufClass) } override fun shouldSkipClass(clazz: Class<*>?): Boolean = false }