commit | 7bcb2fa2dcebe9ce42736364b664b36e02d41f9c | [log] [tgz] |
---|---|---|
author | Alex Kershaw <alexkershaw@google.com> | Fri Jan 04 15:17:39 2019 +0000 |
committer | Alex Kershaw <alexkershaw@google.com> | Fri Jan 04 15:18:46 2019 +0000 |
tree | 6d9c25f527dea507da597bc38d5c524c58f5b59e | |
parent | 2b9930d0b74280db8bc43fd622b1e8c2ad1c45d6 [diff] |
Map error code 51 to an incorrect OS error. Error code 51 is given when trying to downgrade a device, so this is required to fix our broken CTS test and give an accurate error code to the admin. Change-Id: I436fb7a605dc47dc5388c78c67d7db08ffcf867a Fixes: 120896091 Test: atest CtsDevicePolicyManagerTestCases:com.android.cts.devicepolicy.DeviceOwnerTest#testInstallUpdate