commit | ee80b4adcfc83fae187870de906c36745e40d842 | [log] [tgz] |
---|---|---|
author | Makoto Onuki <omakoto@google.com> | Wed Nov 18 13:39:30 2015 -0800 |
committer | The Android Automerger <android-build@google.com> | Wed Nov 18 14:05:05 2015 -0800 |
tree | 59250a27e60d35052074bce63b2968faa284f657 | |
parent | 54d0125def33f4a1eff5a1315190de1c2a90d6f6 [diff] |
Fix CTS for DPM.resetPassword(). The issue is that DAs are no longer allowed to clear the password. Because the test originally only had DAs, resetPassword("") in setUp() was broken. Now we register DO too so DPM will happily accept resetPassword(""). The resetPassowrd() API doesn't take "who" unlike other APIs -- it'll just allow it if the caller APK has DO. Bug 25740005 Change-Id: Ie9139bab28090b8e1d85a361b92dd42ef6b1813f