Replace usages of hidden Telecom APIs

Replace usage of the putExtra(int) and the removeConnection() APIs --
use putExtras(Bundle) instead of putExtra(int), and move the
removeTelephonyConnectionListener call to close() instead of going
through removeConnection.

Test: manual
Bug: 141576153
Change-Id: I30bbb9e0bdabd18444fb6674c7b3b8f63a7d5282
3 files changed