web: keep ShieldsNative at JNI package (runtime linkage)
- Commit
7eb5641b004350045cb3ed6674e8a90a41fa11d3- Author
- vayun-mathur <[email protected]>
- When
- 2026-08-15 20:19 UTC (3 months ago)
- Parents
bf868a1
Diff
web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsEngine.kt
diff --git a/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsEngine.kt b/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsEngine.ktindex b5485c542f..0eb5de69db 100644--- a/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsEngine.kt+++ b/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsEngine.kt@@ -2,6 +2,7 @@ package com.vayunmathur.web.platform.shields import android.content.Context import android.util.Log+import com.vayunmathur.web.shields.ShieldsNative import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import kotlinx.serialization.SerialName
web/src/main/java/com/vayunmathur/web/shields/ShieldsNative.kt
diff --git a/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsNative.kt b/web/src/main/java/com/vayunmathur/web/shields/ShieldsNative.ktsimilarity index 93%rename from web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsNative.ktrename to web/src/main/java/com/vayunmathur/web/shields/ShieldsNative.ktindex cb686fdf0f..d6e3bffe81 100644--- a/web/src/main/java/com/vayunmathur/web/platform/shields/ShieldsNative.kt+++ b/web/src/main/java/com/vayunmathur/web/shields/ShieldsNative.kt@@ -1,4 +1,5 @@-package com.vayunmathur.web.platform.shields+// PACKAGE STRUCTURE EXCEPTION (JNI): FQN frozen for native RegisterNatives/symbol mangling+package com.vayunmathur.web.shields /** * JNI bridge to Brave's adblock engine (`libweb_shields.so`, built from