-
public class ReflectionHelperClass grouping all of the reflection based checks that we are doing.
Using generic helpers is prohibited, as proguard does not detect the use, and does not rewrite the obfuscated names correctly.
That means that this class WILL have a lot of the same code by design. Please do not refactor this out :)
-
-
Method Summary
Modifier and Type Method Description static booleanisAndroidXFragmentPresent()static booleanisAndroidXAppCompatActivityPresent()static booleanisInstanceOfCoordinatorLayout(Object o)static booleanoptOutOfSmartReply(NotificationCompat.Builder builder)static voidoptOutOfDarkMode(@NonNull() View view)static voidoptOutOfDarkModeRecursively(@Nullable() View view)-
-
Method Detail
-
isAndroidXFragmentPresent
static boolean isAndroidXFragmentPresent()
-
isAndroidXAppCompatActivityPresent
static boolean isAndroidXAppCompatActivityPresent()
-
isInstanceOfCoordinatorLayout
static boolean isInstanceOfCoordinatorLayout(Object o)
-
optOutOfSmartReply
static boolean optOutOfSmartReply(NotificationCompat.Builder builder)
-
optOutOfDarkMode
static void optOutOfDarkMode(@NonNull() View view)
-
optOutOfDarkModeRecursively
static void optOutOfDarkModeRecursively(@Nullable() View view)
-
-
-
-