Skip to content

Commit

Permalink
Fix UnsatisfiedLinkError on QrCode read (#29001)
Browse files Browse the repository at this point in the history
  • Loading branch information
yufengwangca authored and pull[bot] committed Oct 11, 2023
1 parent 6d7d364 commit 7f3cc61
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

package chip.onboardingpayload

import java.util.logging.Level
import java.util.logging.Logger

/** Parser for scanned QR code or Manual Pairing Code. */
class OnboardingPayloadParser {
/**
Expand Down Expand Up @@ -115,17 +112,4 @@ class OnboardingPayloadParser {

return payload
}

companion object {
private val LOGGER: Logger =
Logger.getLogger(OnboardingPayloadParser::class.java.getSimpleName())

init {
try {
System.loadLibrary("OnboardingPayload")
} catch (e: UnsatisfiedLinkError) {
LOGGER.log(Level.SEVERE, "Cannot load library.", e)
}
}
}
}

0 comments on commit 7f3cc61

Please sign in to comment.