public static ActivityInfo generateActivityInfo(Activity activity, int flags) { if (API_LEVEL >= M) { return PackageParserMarshmallow.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (API_LEVEL >= LOLLIPOP_MR1) { return PackageParserLollipop22.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (API_LEVEL >= LOLLIPOP) { return PackageParserLollipop.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (API_LEVEL >= JELLY_BEAN_MR1) { return PackageParserJellyBean17.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (API_LEVEL >= JELLY_BEAN) { return PackageParserJellyBean.generateActivityInfo.call(activity, flags, false, 1, myUserId); } else { return mirror.android.content.pm.PackageParser.generateActivityInfo.call(activity, flags); } }
public static ActivityInfo generateActivityInfo(Activity activity, int flags) { if (SDK >= M) { return PackageParserMarshmallow.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (SDK >= LOLLIPOP_MR1) { return PackageParserLollipop22.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (SDK >= LOLLIPOP) { return PackageParserLollipop.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (SDK >= JELLY_BEAN_MR1) { return PackageParserJellyBean17.generateActivityInfo.call(activity, flags, sUserState, myUserId); } else if (SDK >= JELLY_BEAN) { return PackageParserJellyBean.generateActivityInfo.call(activity, flags, false, 1, myUserId); } else { return mirror.android.content.pm.PackageParser.generateActivityInfo.call(activity, flags); } }