List of usage examples for android.telecom TelecomManager PRESENTATION_PAYPHONE
int PRESENTATION_PAYPHONE
To view the source code for android.telecom TelecomManager PRESENTATION_PAYPHONE.
Click Source Link
From source file:com.android.incallui.ContactInfoCache.java
/** * Gets name strings based on some special presentation modes. */// w w w . j a va 2 s .c o m private static String getPresentationString(Context context, int presentation) { String name = context.getString(R.string.unknown); if (presentation == TelecomManager.PRESENTATION_RESTRICTED) { name = context.getString(R.string.private_num); } else if (presentation == TelecomManager.PRESENTATION_PAYPHONE) { name = context.getString(R.string.payphone); } return name; }