Taal

AuthenticationPolicyManager.PropertyCrossDeviceTrustedPackages Field

Definition

An optional property that applications can define in their manifest's <application> element on the <b>originating device</b> (the sender of the request) to specify package name aliases.

[Android.Runtime.Register("PROPERTY_CROSS_DEVICE_TRUSTED_PACKAGES", ApiSince=37)]
public const string PropertyCrossDeviceTrustedPackages;
[<Android.Runtime.Register("PROPERTY_CROSS_DEVICE_TRUSTED_PACKAGES", ApiSince=37)>]
val mutable PropertyCrossDeviceTrustedPackages : string

Field Value

Attributes

Remarks

An optional property that applications can define in their manifest's <application> element on the originating device (the sender of the request) to specify package name aliases.

This property is only relevant for applications that use the cross-device authentication framework (createCrossDeviceAuthenticationRequest(UUID,Executor,OutcomeReceiver)). For example, an application should use this property when the application's package name on a wearable, or any other form factor, is different than the package name on the phone.

Using these aliases does not remove the need for the applications on each device to be signed with the same certificate unless PROPERTY_CROSS_DEVICE_TRUSTED_CERTIFICATES is also used.

Android reference for android.security.authenticationpolicy.AuthenticationPolicyManager.PROPERTY_CROSS_DEVICE_TRUSTED_PACKAGES.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to