Android R Beta 2
Remove mlstrustedsubject from modem_diagnostic_app.

This is too powerful: it gives the app the ability to access all
app_private_data files.

Instead, make the fiag_socket that it needs to access
mlstrustedobject. This preserves the ability for the app to access the
socket.

(Note that this is already how it is handled for e.g. coral-sepolicy.)

Test: builds
Test: presubmits
Change-Id: I6c90d0e6dd5089046d76cfc0f3d3e4bce7d8eb28
2 files changed