Add flag to allow remote sessions to be resumable

If the flag is enabled, media which is location PLAYBACK_CAST_LOCAL will
be allowed to persist in the resume state (under the same conditions as
local media controls). RCNs will still not be allowed to resume.

Flag: MEDIA_REMOTE_RESUME
Test: atest MediaDataManagerTest MediaResumeListenerTest
Bug: 269637129
Bug: 270437894
Change-Id: Idd0313c0c49f768453e781853edf7f818d6b8ab0
6 files changed