diff options
| author | 2024-02-01 13:29:55 -0800 | |
|---|---|---|
| committer | 2024-02-06 15:04:50 -0800 | |
| commit | 39a772172864c647cf00793f3dd6e2cbb2f05ea5 (patch) | |
| tree | 1320fcdaafe4808aad56a0fd4a7987a5c568afd4 /libs/androidfw/StringPool.cpp | |
| parent | 817cd8686fe2dc04958d9c82128af19dbddce7a9 (diff) | |
[PreVerfiedDomains] use pre-verified domains in DomainVerification
BUG: 307327678
Test: manual with the following steps:
// First disable the domain verification agent on device so pre-verified states don't get overwritten immediately
0) adb shell pm disable com.google.android.gms
1) adb shell pm install-create
Success: created install session [1460136727]
2) adb push ~/Downloads/WhatsApp.apk /data/local/tmp/
3) adb shell pm install-write 1460136727 base /data/local/tmp/WhatsApp.apk
Success: streamed 82042126 bytes
4) adb shell pm install-set-pre-verified-domains 1460136727 call.whatsapp.com,www.whatsapp.com
5) adb shell pm install-commit 1460136727
Success
6) adb shell pm get-app-links com.whatsapp
com.whatsapp:
ID: 5630e717-a175-43da-ae8b-edc8a3be7971
Signatures: [39:87:D0:43:D1:0A:EF:AF:5A:87:10:B3:67:14:18:FE:57:E0:E1:9B:65:3C:9D:F8:25:58:FE:B5:FF:CE:5D:44]
Domain verification state:
api.whatsapp.com: none
www.whatsapp.com: pre_verified
call.whatsapp.com: pre_verified
wa.me: none
v.whatsapp.com: none
whatsapp.com: none
chat.whatsapp.com: none
Test: atest android.packageinstaller.install.cts.InstallPreVerifiedDomainsTest
Test: atest
com.android.server.pm.test.verify.domain.DomainVerificationPackageTest
Test: integration test to be added
Change-Id: I7cfeacd93fdb23785d77109a2d54ff7470c4e263
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions