Added CTS tests for DISALLOW_CONTENT_CAPTURE.

These tests were copied from Autofill and should work, but they aren't.
More specifically, these pass:

Test: atest MixedManagedProfileOwnerTest#testSetUserRestrictionLogged \
            MixedDeviceOwnerTest#testSetUserRestrictionLogged \
            MixedProfileOwnerTest#testSetUserRestrictionLogged

But not these:

Test: atest MixedManagedProfileOwnerTest#testDisallowContentCapture_allowed \
            MixedDeviceOwnerTest#testDisallowContentCapture_allowed \
            MixedProfileOwnerTest#testDisallowContentCapture_allowed

It looks like the issue is on Content Capture itself, not the tests...

Fixes: 123406031
Bug: 124127364

Change-Id: I7ce15cfb349f7ed50d3fe6200e572ddae8e1a18f
11 files changed