Phantom Contact Account - Android

I am writing an application that allows the user to select from a list of names, and then add one of the names to their contacts (with a phone number, etc.). When I get my contact list of contact accounts, I get 3 results: "Phone", "a000000229aa3e ....", "Gmail".

The result of the center, "a000000229aa3e ...." is not an account that I have set up or appears anywhere else on my phone. It also does not appear in the emulator.

My colleague ran a Hit Droid (original Droid) and didn’t get an odd account. I run it on Droid X.

Does anyone know where this contact group is from? Is there something I need to do to filter this out?


I managed to get the name and type for the odd contact account: Account name: a00000229aa3e5-8877431712057062230@random.svcmot.com Account type: com.motorola.blur.service.bsutils.MOTHER_USER_CREDS_TYPE

+3
source share
2 answers

From what I could collect, MOTHER_USER_CREDS_TYPE points to some account created for Motorola / Provider ... I ended up filtering it with !(mAccounts.get(i).getType().toString().contains("MOTHER_USER_CREDS_TYPE"))- I don't know if this will delay on all devices, but it fixed problem at the moment.

+2
source

Android-, Motorola? Motorola, ?

, , , , ?

0

Source: https://habr.com/ru/post/1780257/


All Articles