CTS verifier issue "Screen Pinning Test will fail"

Root Cause:
Android M0 will set lock task mode after the LOCK_TASK_END_MSG message was
been handled. Thus, It needs some time for waiting the lock mode changed.
However, CtsVerifier Screen Pinning Test will check lock task mode after

We don't have a better way to know when the lock mode changing done.
And, the user needs to wait for the test result before going to next step.
Thus, we try 5 times with 200ms delay time for checking the result.
After considering the user experience, if the use can't get expected status
within 1 second, the case can fail because the device has performance issue.

Change-Id: I868e1e790cc8566e455e6b7a1521e4169c35a0f0
Signed-off-by: Junjie Hu <junjie.hu@mediatek.com>
1 file changed