views:

34

answers:

0

I am stuck into resetting an android device to factory. This happens when Unlock pattern is set.

ICheckinService service = ICheckinService.Stub.asInterface(ServiceManager.getService("checkin"));

This line of code returns 'null'. So a dialog showing an error message "No reset was performed because the System Clear service is not available" is displayed.

Please any body help me to resolve this issue.