List of usage examples for android.telecom TelecomManager PRESENTATION_RESTRICTED
int PRESENTATION_RESTRICTED
To view the source code for android.telecom TelecomManager PRESENTATION_RESTRICTED.
Click Source Link
From source file:com.android.incallui.ContactInfoCache.java
/** * Gets name strings based on some special presentation modes. *///from w w w . ja v a 2s . 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; }