Skip to content

Commit

Permalink
Adding Settings change in Provider sample
Browse files Browse the repository at this point in the history
Change-Id: Idf466e62bc615fa2e87d20bed5d5be93b764c9a7
  • Loading branch information
Niharika Arora committed Jun 17, 2024
1 parent e286fd2 commit 1217d58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<string name="search">Search</string>
<string name="passwords_passkeys">Passwords: %1$s Passkeys: %2$s</string>
<string name="web">web</string>
<string name="provider_sample">Provider Sample\n</string>
<string name="myvault_provider">MyVault Provider</string>
<string name="unable_to_retrieve_data_from_intent">Unable to retrieve data from intent</string>
<string name="manage_credentials">Manage Credentials</string>
<string name="open">Open %1$s</string>
Expand Down
6 changes: 2 additions & 4 deletions CredentialProvider/MyVault/app/src/main/res/xml/provider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@
* limitations under the License.
-->
<credential-provider xmlns:android="http://schemas.android.com/apk/res/android"
android:settingsActivity="com.android.testprovider.SettingsActivity"
android:settingsSubtitle="@string/provider_sample">
android:settingsActivity="com.example.android.authentication.myvault.ui.MainActivity"
android:settingsSubtitle="@string/myvault_provider">
<capabilities>
<capability name="android.credentials.TYPE_PASSWORD_CREDENTIAL" />

<capability name="androidx.credentials.TYPE_PUBLIC_KEY_CREDENTIAL" />
<capability name="androidx.credentials.TYPE_CUSTOM" />
</capabilities>
</credential-provider>

0 comments on commit 1217d58

Please sign in to comment.