Unregister the Receiver when the service is destroyed

When the PollingService is destroyed, we are not unregistering
the associated receiver. This is causing an error when
the service is started again.

Also adds Test framework so we can test this case.

Bug: 67797982
Test: Manual
Change-Id: Ic27f3ffe3344a5030e30f1c72514d17fc5c465ae
9 files changed
tree: 7bf53ce8413bab0dd90453655e52c839f10fdf49
  1. rcs/
  2. OWNERS