Use ActivityRecord for URI permissions in autofill

Previously URI permissions granted when autofilling content were tied
to the autofill session lifecycle and managed manually in the autofill
service in system server. With this change, permissions are now tied
to the lifecycle of the activity being filled.

Bug: 168341541
Test: atest CtsAutoFillServiceTestCases:InlineAugmentedContentTest
Test: Manually using ReceiveContentDemo
Change-Id: I6a1ec210985a5d58ab2ff3db8e6e4ffa3fdb0df4
5 files changed