Unlock Home Screen Layout Android. This appears to affect my tests being able to run, plus, i want to watch the tests run (buttons clicked, text typed, etc.). The first step which you need to follow is going to the settings option on your respected android smartphones.
As some folks needs help in unlocking device after locking programmatically, i came through post android screen lock/ unlock programatically, please have look, may help you. Prevent or allow the addition or removal of apps from the home screen; If i manually start an emulator and unlock its screen, all works well.
Lock or unlock the home screen/app bar;
Locate the 'home screen' layout. The feature is disabled by default, so make sure you activate it. Step 2 navigate through the list and open display. step 3 open up home screen from the following window. Long press (3 seconds) an empty part of the home screen;