Bump NetworkStack target SDK to current (37)

Instead of hardcoding a target SDK, switch to using t
branch. This will cause NetworkStack to receive breaking behavior
changes earlier as they are being developed, which is
is a trade-off between getting breaking behavior changes
earlier as they are being developed

The only behavior change in 37 that may affect NetworkStack is the local
network permission, but MAINLINE_NETWORK_STACK apps have it effectively
granted.

See:
https://developer.android.com/about/versions/17/behavior-changes-17

Also include the permission in the NetworkStackRootTests manifest: the
root tests communicate with NetworkStack via a root shell but are not
privileged themselves. They need the permission as they inherit their
target SDK from NetworkStack.

Bug: 491011650
Test: TH
Flag: EXEMPT BUGFIX
Cherrypick-From: https://googleplex-android-review.googlesource.com/q/commit:45135fe82667fb84cbff601a5d5dbab29f56fe20
Merged-In: I6a9879a7f072d597340d4893f32aad0ffd4218e3
Change-Id: I6a9879a7f072d597340d4893f32aad0ffd4218e3
2 files changed