Skip to content

Commit

Permalink
Update PoTokenHelper.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
zainarbani authored Sep 3, 2024
1 parent 2e19c12 commit ed9e216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ class PoTokenHelper(context: Context) {
getDroidGuardResult(context, droidGuardResultsRequest, map)?.encodeToByteArray()?.toByteString()
val tokenRequest =
GetPoIntegrityTokenRequest(dgResult = dgResult, dgRandKey = randKeyBuf.toByteString(), mode = 1)
return postPoTokenForGms(tokenRequest.encode)
return postPoTokenForGms(tokenRequest.encode())
} catch (e: Throwable) {
Log.w(TAG, "PoTokenHelper getPoIntegrityToken exception: $e")
}
Expand Down

0 comments on commit ed9e216

Please sign in to comment.