File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
app/src/main/java/tech/httptoolkit/pinning_demo Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import com.appmattus.certificatetransparency.certificateTransparencyInterceptor
20
20
import com.appmattus.certificatetransparency.certificateTransparencyTrustManager
21
21
import com.appmattus.certificatetransparency.installCertificateTransparencyProvider
22
22
import com.datatheorem.android.trustkit.TrustKit
23
+ import kotlinx.coroutines.DelicateCoroutinesApi
23
24
import kotlinx.coroutines.Dispatchers
24
25
import kotlinx.coroutines.GlobalScope
25
26
import kotlinx.coroutines.launch
@@ -41,6 +42,8 @@ import javax.net.ssl.*
41
42
42
43
const val LETS_ENCRYPT_ROOT_SHA256 = " C5+lpZ7tcVwmwQIMcRtPbsQtWLABXhQzejna0wHFr8M="
43
44
45
+ @Suppress(" UNUSED_PARAMETER" )
46
+ @DelicateCoroutinesApi
44
47
class MainActivity : AppCompatActivity () {
45
48
override fun onCreate (savedInstanceState : Bundle ? ) {
46
49
super .onCreate(savedInstanceState)
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
buildscript {
3
- ext. kotlin_version = ' 1.8.22 '
3
+ ext. kotlin_version = ' 1.9.10 '
4
4
repositories {
5
5
google()
6
6
jcenter()
You can’t perform that action at this time.
0 commit comments