Skip to content

Commit

Permalink
fix: Use updated polyfill import code
Browse files Browse the repository at this point in the history
  • Loading branch information
pojntfx committed Jun 28, 2024
1 parent ed540ff commit 0156033
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion android.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"log"
"time"

"github.com/pojntfx/hydrapp/hydrapp/pkg/fixes"
_ "github.com/pojntfx/hydrapp/hydrapp/pkg/fixes"

backend "github.com/loopholelabs/latensee/pkg/backend"
Expand All @@ -20,7 +21,7 @@ import (

//export Java_io_loopholelabs_latensee_MainActivity_LaunchBackend
func Java_io_loopholelabs_latensee_MainActivity_LaunchBackend(env *C.JNIEnv, activity C.jobject, filesDir C.jstring) C.jstring {
if err := PolyfillEnvironment(C.GoString(C.get_c_string(env, filesDir))); err != nil {
if err := fixes.PolyfillEnvironment(C.GoString(C.get_c_string(env, filesDir))); err != nil {
log.Fatalln("could not polyfill environment:", err)
}

Expand Down

0 comments on commit 0156033

Please sign in to comment.