Skip to content

Commit

Permalink
Fix missing super call
Browse files Browse the repository at this point in the history
  • Loading branch information
Mygod committed May 8, 2019
1 parent 309b8ce commit ea98b94
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -63,6 +63,7 @@ class VpnRequestActivity : AppCompatActivity() {
}

override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
if (requestCode != REQUEST_CONNECT) return super.onActivityResult(requestCode, resultCode, data)
if (resultCode == RESULT_OK) Core.startService() else {
Toast.makeText(this, R.string.vpn_permission_denied, Toast.LENGTH_LONG).show()
Crashlytics.log(Log.ERROR, TAG, "Failed to start VpnService from onActivityResult: $data")
Expand Down

0 comments on commit ea98b94

Please sign in to comment.