@SuppressWarnings({ "unchecked", "rawtypes" })
	private static Map<Object, WeakReference> getResourcesMap(ActivityThread activityThread) {
		if (Build.VERSION.SDK_INT >= 24) {
			Object resourcesManager = getObjectField(activityThread, "mResourcesManager");
			return (Map) getObjectField(resourcesManager, "mResourceImpls");
		} else if (Build.VERSION.SDK_INT >= 19) {
			Object resourcesManager = getObjectField(activityThread, "mResourcesManager");
			return (Map) getObjectField(resourcesManager, "mActiveResources");
		} else {
			return (Map) getObjectField(activityThread, "mActiveResources");
		}
	}
Contains various methods for information about the current app.

<p>For historical reasons, this class is in the {@code android.app} package. It can't be moved
without breaking compatibility with existing modules.
loader/src/main/java/android/app/AndroidAppHelper.java