{"push_id":978308294,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"f0076f0e618d06ab9e99369053f44d2b88588b4f","before":"be0c48b90f4d2457bb38da2334755b401c70d15c","commits":[{"sha":"c192653bea97e6b6a298db88845bdc8ee75eae47","author":{"email":"bd47321c6ec1070e59fa8d3f9acad8db0b923131@scompt.com","name":"Edward Dale"},"message":"Get Activity of a View if the Context is a ContextWrapper\n\nIn some cases calling View.getContext will return a ContextWrapper instead\nof an Activity. This will cause a ClassCastException:\n\n```\njava.lang.ClassCastException: android.view.ContextThemeWrapper cannot be cast to android.app.Activity\nat tools.fastlane.screengrab.Screengrab$1.perform(Screengrab.java:77)\n```\n\nThe added code is based on [this Stackoverflow answer](http://stackoverflow.com/a/27434760/111777).","distinct":true,"url":"https://api.github.com/repos/fastlane/screengrab/commits/c192653bea97e6b6a298db88845bdc8ee75eae47"},{"sha":"f0076f0e618d06ab9e99369053f44d2b88588b4f","author":{"email":"fdb87dfd199045af7165780b11640b83768a0d57@crashlytics.com","name":"Andrea Falcone"},"message":"Merge pull request #69 from scompt/context_wrapper\n\nGet Activity of a View if the Context is a ContextWrapper","distinct":true,"url":"https://api.github.com/repos/fastlane/screengrab/commits/f0076f0e618d06ab9e99369053f44d2b88588b4f"}]}