commit | a9b8253b38c3fcc6388f79bbc5c34ad540f6a6eb | [log] [tgz] |
---|---|---|
author | Eric Sandness <sandness@google.com> | Fri Apr 07 18:17:12 2017 +0100 |
committer | Eric Sandness <sandness@google.com> | Fri Apr 07 18:17:24 2017 +0100 |
tree | fb08fdafa5c769eccfb07a5741890deb90dd5f2a | |
parent | 67ee79e84fa14975721ab9500aabf593c05dbcfe [diff] |
Fix mock of setApplicationRestrictions() If any(Bundle.class) is used in the mock's when() clause instead of nullable(Bundle.class), the mock is not called when the bundle argument is null. Test: runtest -c com.android.server.devicepolicy.DevicePolicyManagerTest frameworks-services Bug: 36808416 Change-Id: Iab96fe88837e8f27a1da5775494b4611a547f13a