You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ai-catalog/samples/gemini-live-todo/src/main/java/com/android/ai/samples/geminilivetodo/ui/TodoScreenViewModel.kt
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,11 @@
16
16
packagecom.android.ai.samples.geminilivetodo.ui
17
17
18
18
importandroid.Manifest
19
+
importandroid.annotation.SuppressLint
19
20
importandroid.app.Activity
20
21
importandroid.content.pm.PackageManager
21
22
importandroid.util.Log
23
+
importandroidx.annotation.RequiresPermission
22
24
importandroidx.core.app.ActivityCompat
23
25
importandroidx.core.content.ContextCompat
24
26
importandroidx.lifecycle.ViewModel
@@ -87,6 +89,7 @@ class TodoScreenViewModel @Inject constructor(private val todoRepository: TodoRe
0 commit comments