commit | 805d59dc1db99847536911868d2e08748b6b2c43 | [log] [tgz] |
---|---|---|
author | Robin Lee <rgl@google.com> | Tue Jan 31 00:08:52 2017 +0000 |
committer | Robin Lee <rgl@google.com> | Tue Jan 31 00:08:52 2017 +0000 |
tree | 40987da23c86a04af79a0e6255ef24eb9c23df08 | |
parent | 4dfe53e181c17dee24e0d54335c37046b4037849 [diff] |
Fix 4 broken work profile tests Commit 2953f31b61fb8c8c1334ecbf7f65d0de05776f06 skipped RunSettingsRoboTests. The tests started failing because WorkSoundPreferenceController calls UserManager.isUserUnlocked(int) now which is not implemented in robolectric. Fixed by adding a wrapper method to AudioHelper. Fix: 34819603 Test: make RunSettingsRoboTests Change-Id: Ia79cc4def9442706752f7e7b9a895ffa8150fd9d