List of usage examples for android.telecom Connection setAddress
public final void setAddress(Uri address, int presentation)
From source file:com.android.server.telecom.testapps.TestConnectionService.java
private void setAddress(Connection connection, Uri address) { connection.setAddress(address, TelecomManager.PRESENTATION_ALLOWED); if ("5551234".equals(address.getSchemeSpecificPart())) { connection.setCallerDisplayName("Hello World", TelecomManager.PRESENTATION_ALLOWED); }/* www .j a v a 2s .c o m*/ }