Question
I have an app, which contains a setting button on click of it, I need to open the Google password manager screen directly from my app.
Manual navigation flow:
Device settings -> Manage your Google Account -> Security -> Your Saved Password (section) -> Password Manager
As per given manual navigation flow above, I want to directly open the ‘Password Manager’ screen. Where I can edit or delete connected apps' password.
Attached screenshot of Google manage password screen
The below component information I found in android studio logs while performing manual navigation flow :
ComponentInfo{com.google.android.gms/com.google.android.gms.credential.manager.PasswordManagerActivity}
Currently tried below code to do :
Val intent = Intent(Intent.ACTION_VIEW)
Intent.component = ComponentName (
“com.google.android.gms“, “com.google.android.gms..credential.manager.PasswordManagerActivity”
}
startActivity(intent)
The error I am getting on performing the above code
java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.VIEW cmp=com.google.android.gms/.credential.manager.PasswordManagerActivity } from ProcessRecord{9be2be42 18418:com.app.android/u0a569} (pid=18418, uid=10689) requires android.permission.READ_SEARCH_INDEXABLES