AccountManager.KeyAndroidPackageName Field

Definition

The Android package of the caller will be set in the options bundle by the AccountManager and will be passed to the AccountManagerService and to the AccountAuthenticators.

[Android.Runtime.Register("KEY_ANDROID_PACKAGE_NAME")]
public const string KeyAndroidPackageName;
[<Android.Runtime.Register("KEY_ANDROID_PACKAGE_NAME")>]
val mutable KeyAndroidPackageName : string

Field Value

Attributes

Remarks

The Android package of the caller will be set in the options bundle by the AccountManager and will be passed to the AccountManagerService and to the AccountAuthenticators. The uid of the caller will be known by the AccountManagerService as well as the AccountAuthenticators so they will be able to verify that the package is consistent with the uid (a uid might be shared by many packages).

Java documentation for android.accounts.AccountManager.KEY_ANDROID_PACKAGE_NAME.

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