added else condition for unrearchable code path
Merge pull request #233 from playscript/mobile_demo_droid

added else condition for unrearchable code path