getTrustAgentConfiguration replace hasAdminComponent

Bug: 171056125
Test: atest com.android.cts.devicepolicy.ManagedProfileTest#testTrustAgentInfo
      atest com.android.cts.devicepolicy.MixedManagedProfileOwnerTest#testTrustAgentInfo
Change-Id: Ia67c0f24ad7e667bb41a371ad4c142d423826806
1 file changed