Break the reference for the new added API constant

RESTRICTED_CAPABILITIES was moved from NetworkCapabilities to
frameworks/libs/net. RESTRICTED_CAPABILITIES refers to some
S added NET_CAPABILITIES_* definitions. Replace the constants
definitions with local constants because this git will
downstream to branches without this constants. Downstream will
not be able to find the references in NetworkCapailities and
cause breakage.

Bug: 178777253
Bug: 130869457
Test: m
Change-Id: I270593c12c1a7ff9f05d3bcd5f6d5647f89efb63
Ignore-AOSP-First: code conflict
1 file changed
tree: 844487b4b173bb1636dc7f3b6d4db9116f101d9b
  1. staticlibs/