Commit b2a3088d authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Fix NullPointerException in MainActivity by adding an empty constructor

See bug in FragmentManagerImpl.restoreAllState()
See "All subclasses of Fragment must include a public empty constructor." in
http://developer.android.com/reference/android/app/Fragment.html
parent bae8a754
......@@ -94,6 +94,9 @@ public class MainActivity extends SherlockFragmentActivity {
private int mVersionNumber = -1;
public MainActivity() {
}
@Override
protected void onCreate(Bundle savedInstanceState) {
if (!Util.hasCompatibleCPU()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment