Make RedactedNetworkCapabilities compatible with upcoming change

Upcoming change will make subIds public and not redacted but this change
will make cts fail.
So this CL updates test to be compatible with current code and code with
planned changes.
After the current cts support window is over, subIds can be public.

Bug: 324357121
Test: TH, TH with aosp/2969321
(cherry picked from https://android-review.googlesource.com/q/commit:fd9d0e88555b5f5d3292e76c4f9c8a82a2fda179)
Merged-In: I45d39f5bc3b1c4af26cc990ce29b45e9ad7d3c3c
Change-Id: I45d39f5bc3b1c4af26cc990ce29b45e9ad7d3c3c
1 file changed