File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
app/src/main/java/com/google/firebase/quickstart/ai Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,8 @@ class MainActivity : ComponentActivity() {
4242 @OptIn(ExperimentalMaterial3Api ::class )
4343 override fun onCreate (savedInstanceState : Bundle ? ) {
4444 super .onCreate(savedInstanceState)
45- if (ContextCompat .checkSelfPermission(this , Manifest .permission.RECORD_AUDIO ) != PackageManager .PERMISSION_GRANTED ) {
45+ if (ContextCompat .checkSelfPermission(this ,
46+ Manifest .permission.RECORD_AUDIO ) != PackageManager .PERMISSION_GRANTED ) {
4647 ActivityCompat .requestPermissions(this , arrayOf(Manifest .permission.RECORD_AUDIO ), 1 )
4748 }
4849 enableEdgeToEdge()
Original file line number Diff line number Diff line change 11// Top-level build file where you can add configuration options common to all sub-projects/modules.
22
33plugins {
4- id(" com.android.application" ) version " 8.12 .0" apply false
5- id(" com.android.library" ) version " 8.12 .0" apply false
4+ id(" com.android.application" ) version " 8.10 .0" apply false
5+ id(" com.android.library" ) version " 8.10 .0" apply false
66 id(" org.jetbrains.kotlin.android" ) version " 2.2.0" apply false
77 id(" org.jetbrains.kotlin.plugin.compose" ) version " 2.2.0" apply false
88 id(" org.jetbrains.kotlin.plugin.serialization" ) version " 2.2.0" apply false
You can’t perform that action at this time.
0 commit comments