Merge "Update Permission only if the network is created" am: 29f0350da3 am: 40ea750175 am: 0109ba492c

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

Change-Id: I48d3d37421ec971904f4f1ca029f22abc3e10dcc