Use public API Network#getNetId() to get netid

Network class will be a part of mainline module, external callers
cannot call its hidden constant. Use public API - getNetId() to
get netid instead.

Bug: 172183305
Test: atest FrameworksNetTests
Change-Id: I8d0924e4a1dab673a2693a8ae872d2e79e22cfe6
2 files changed