Added restriction Srv_startActivityAsCaller

Refs #1757
Added compatability for Android Studio 1.0