Added: Add support for plugin apps to set TERMUX_APP_PACKAGE_VARIANT and TERMUX_APP_PACKAGE_MANAGER from Termux app APK BuildConfig.TERMUX_PACKAGE_VARIANT

This commit is contained in:
agnostic-apollo
2022-06-01 00:09:10 +05:00
parent 980bf8f0ae
commit 46cfea09ec
4 changed files with 110 additions and 2 deletions

View File

@@ -77,6 +77,8 @@ public class ReflectionUtils {
/**
* Get a value for a {@link Field} of an object for the specified class.
*
* Trying to access {@code null} fields will result in {@link NoSuchFieldException}.
*
* @param clazz The {@link Class} to which the object belongs to.
* @param fieldName The name of the {@link Field}.
* @param object The {@link Object} instance from which to get the field value.