Skip to content

Instantly share code, notes, and snippets.

@loganj
Created August 12, 2010 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save loganj/520918 to your computer and use it in GitHub Desktop.
Save loganj/520918 to your computer and use it in GitHub Desktop.
//Wysie: Workaround for the entry.type bug, since entry.type always returns -1
final Integer type = entryValues.getAsInteger(Phone.TYPE);
//Wysie: Bug here, entry.type always returns -1.
if (/*entry.type*/type == CommonDataKinds.Phone.TYPE_MOBILE || mShowSmsLinksForAllPhones) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment