Android AccountManager.getUserData () works without a single sharedUserID, unlike the documentation

I have two applications that use the same authentication code.

Both applications are signed with the same signature.

The UID in the manifest file is not set for any of the applications.

I cannot uninstall and reinstall applications or change their UID in the manifest file, since both of them are already published to the Google game.

AccountManager.getUserData () and AccountManager.setUserData () indicate that to call them, the caller ID must be the same as the authenticator ID, in addition to the same signature.

If I try to call AccountManager.getUserData () from any of the applications, I do not get any exceptions, even if they do not use the same UID (this contradicts the documentation).

Am I missing something? Thank.

+3
source share

All Articles