Loading
Creating internal only getActivityInfo for Cross Profile
Current getActivityInfo is exposed as public api which needs cross profile access permissions. Now that we are performing chained intent resolution (example, clone profile -> owner -> work profile) we need to getActivityInfo to bypass cross profile check for intent redirection. This would be only internal method and not exposed to system or public. Bug: 255745774 Test: atest CtsAppCloningHostTest:com.android.cts.appcloning.IntentRedirectionTest Test: Manually tested with clone,owner and work profile. Change-Id: I91c685f5c500b12229dc56534a2fc558f7f2b8a1