Add target package to VisualVoicemailFilterSettings.

When a VVM SMS is received, opt/telephony send a broadcast to
TelephonyService which will then bind to the remote package handling
VVM. The remote package might change when the broadcast is in flight
and caused the new package to receive SMS filtered by the old package.
This caused flakiness in CTS tests.

In this CL, the filter will also receive the package which set the
filter settings, and will send it to the TelephonyService. If
TelephonyService found the package is no longer the active
VisualVoicemailService, it will be ignored.

Change-Id: I3096da12333aab77ed8ef441971d0d5cb311c5e7
Fixes: 70675403
Test: CtsTelephonyTestCases
3 files changed