Fix NOT_RESTRICTED network capability and enforce it.
With this change:
1. NOT_RESTRICTED should be removed from NetworkRequests that bring up
special restricted carrier networks (e.g. IMS, FOTA).
2. NetworkRequests without NOT_RESTRICTED require CONNECTIVITY_INTERNAL
permission to register
3. Binding sockets to networks without NOT_RESTRICTED requires
(cherry picked from commit af171aa4dcf294bf2d1b9bed54ef9a6b0ec76361)
Resolved conflicts from cherry-picking ag/758371 into the lmp-mr1-release branch.
1 file changed