We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 217cdae commit f691469Copy full SHA for f691469
app/src/main/java/org/OperatorFoundation/MoonbounceAndroidKotlin/MainActivity.kt
@@ -275,8 +275,8 @@ class MainActivity : AppCompatActivity()
275
// Set the action (start not stop)
276
moonbounceVPNIntent.action = START_VPN_ACTION
277
278
- // Provide the activity that should receive the vpn status broadcasts
279
- moonbounceVPNIntent.putExtra(APP_PACKAGE, MainActivity::class.java)
+ // Provide the package that should receive the vpn status broadcasts
+ moonbounceVPNIntent.putExtra(APP_PACKAGE, this.packageName)
280
281
// Set the IP address of the vpn server (transport server if a transport is being used)
282
ipAddress = ipEditText.text.toString()
0 commit comments