commit | 7f9f37d18f67913e7504e8f111b6502807485af2 | [log] [tgz] |
---|---|---|
author | Riddle Hsu <riddlehsu@google.com> | Tue Mar 26 17:42:17 2019 +0800 |
committer | Riddle Hsu <riddlehsu@google.com> | Tue Mar 26 22:57:14 2019 +0800 |
tree | 26b4a8a0d0fd0f959dc28979ab2162846680b614 | |
parent | aecff3d7c4cb910e6ab95849d2d5def121b0469f [diff] |
Protect spy by holding lock Another thread could access mDisplayContent during setup spy. That might cause some unexpected error such as: CannotStubVoidMethodWithReturnValue, WrongTypeOfReturnValue. Bug: 129331490 Test: atest TaskPositioningControllerTests Change-Id: I60c7fac1139362957f43254dd0d1740ace28445d