utlis: Common: Switch to NetworkCapabilities to check for internet connection

- Current method has been deprecated

w: /builds/e/apps/apps/app/src/main/java/foundation/e/apps/utils/Common.kt: (47, 53): 'getter for activeNetworkInfo: NetworkInfo!' is deprecated. Deprecated in Java
w: /builds/e/apps/apps/app/src/main/java/foundation/e/apps/utils/Common.kt: (48, 63): 'getter for isConnected: Boolean' is deprecated. Deprecated in Java

Signed-off-by: Aayush Gupta <theimpulson@e.email>
1 job for aayush_test in 4 minutes and 19 seconds (queued for 1 second)