I need help to get CNAP(CallerDisplayName) in Android
<p>I using android.telecom.ConnectionService, because i want get in connection class who contains void getCallerDisplayName(), but i create my service extends ConnectionService. And register my service in TelecomManager </p>

<pre><code>TelecomManager telecomManager = (TelecomManager) getSystemService(Context.TELECOM_SERVICE);

    ComponentName componentName = new ComponentName("com.ukrainelike.rate", "com.ukrainelike.rate.myservice");
    PhoneAccountHandle phoneAccountHandle = new PhoneAccountHandle(componentName, "Admin");
    PhoneAccount.Builder builder = new PhoneAccount.Builder(phoneAccountHandle, "Admin");
    builder.setCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER);
    PhoneAccount phoneAccount = builder.build();
    telecomManager.registerPhoneAccount(phoneAccount);
</code></pre>

<p>And get exception:<code>java.lang.SecurityException: PhoneAccount connection service requires BIND_TELECOM_CONNECTION_SERVICE permission.</code>, but i write this permission in manifest file </p>

<pre><code>   `&lt;service
        android:name=".MyService"
      android:permission="android.permission.BIND_TELECOM_CONNECTION_SERVICE"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.telecom.ConnectionService" /&gt;
        &lt;/intent-filter&gt;
    &lt;/service&gt;`
</code></pre>

<p>and <code>&lt;uses-permission android:name="android.permission.BIND_TELECOM_CONNECTION_SERVICE"/&gt;</code>
Please help me.</p>