From c606f43a3dbce13e18de137916202b8ab4c9ebe4 Mon Sep 17 00:00:00 2001 From: Benoit Quenaudon Date: Wed, 12 Sep 2018 15:11:42 -0400 Subject: [PATCH] Don't reflect on androidX --- moshi/src/main/java/com/squareup/moshi/internal/Util.java | 1 + 1 file changed, 1 insertion(+) diff --git a/moshi/src/main/java/com/squareup/moshi/internal/Util.java b/moshi/src/main/java/com/squareup/moshi/internal/Util.java index 832ac2f..b2a5ea8 100644 --- a/moshi/src/main/java/com/squareup/moshi/internal/Util.java +++ b/moshi/src/main/java/com/squareup/moshi/internal/Util.java @@ -90,6 +90,7 @@ public final class Util { public static boolean isPlatformType(Class rawType) { String name = rawType.getName(); return name.startsWith("android.") + || name.startsWith("androidx.") || name.startsWith("java.") || name.startsWith("javax.") || name.startsWith("kotlin.")