Update the UIDs only after the native network is created am: a7d4766d0d am: b78402c81f am: 37e7a6f114 am: e1331a9c48

Original change: https://android-review.googlesource.com/c/platform/packages/modules/Connectivity/+/1973861

Change-Id: I405796af081ae9ea3d5a5c448728a8cb35fba450