|
|
@@ -50,6 +50,16 @@ setImmediate(() => {
|
|
|
log(`WifiServiceImpl.getFactoryMacAddresses() called, returning: ${spoof}, original: ${original}`)
|
|
|
return spoof
|
|
|
}
|
|
|
- WifiServiceImpl.getConnectionInfo.overload('int').implementation = function (arg) {}
|
|
|
+ WifiServiceImpl.getConnectionInfo.overload('java.lang.String', 'java.lang.String').implementation = function (
|
|
|
+ callingPackage,
|
|
|
+ callingFeatureId
|
|
|
+ ) {
|
|
|
+ const original = this.getConnectionInfo(callingPackage, callingFeatureId)
|
|
|
+
|
|
|
+ log(
|
|
|
+ `WifiServiceImpl.getConnectionInfo(${callingPackage}, ${callingFeatureId}) called, returning: ${original}`
|
|
|
+ )
|
|
|
+ return original
|
|
|
+ }
|
|
|
})
|
|
|
})
|