commit | 173ef94284f7031ffd56726ecbd6a0a52fd1fa6c | [log] [tgz] |
---|---|---|
author | Winson <chiuwinson@google.com> | Wed Mar 10 13:55:00 2021 -0800 |
committer | Winson <chiuwinson@google.com> | Tue Mar 16 11:41:44 2021 -0700 |
tree | 6b9218b69478fead5824430f5f96fe8ba272d661 | |
parent | f9e1c3023981e90b5771bf621407190a013ebea7 [diff] |
Expose error codes for domain verification setters Removes the InvalidDomainSetException and exposes the reasons as API error codes. Implementers can check for a non-0 error code to tell if the failure is meant to indicate a cancelled request. Bug: 180991102 Test: atest com.android.server.pm.test.verify.domain Test: atest DomainVerificationManagerApiTest Change-Id: I19b88fb582fc7f633497d036a0590350ec463f3e