added rest layer support for Android device
checking in utility file