package com.kanshu.kanshu;

import android.content.Context;
import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.v7.app.ActionBarActivity;

import uk.co.chrisjenx.calligraphy.CalligraphyConfig;
import uk.co.chrisjenx.calligraphy.CalligraphyContextWrapper;

public class BaseActivity extends ActionBarActivity {

    @Override
    public void onCreate(Bundle savedInstanceState, PersistableBundle persistentState) {
        super.onCreate(savedInstanceState, persistentState);
        CalligraphyConfig.initDefault(new CalligraphyConfig.Builder()
                .setDefaultFontPath("fonts/Roboto-Regular.ttf")
                .setFontAttrId(R.attr.fontPath)
                .build()
        );
    }

    @Override
    protected void attachBaseContext(Context newBase) {
        super.attachBaseContext(CalligraphyContextWrapper.wrap(newBase));
    }
}

@@ -83,45 +83,8 @@
 le;%0A
-import android.os.PersistableBundle;%0A
 impo
@@ -300,17 +300,16 @@
 ivity %7B%0A
-%0A
     @Ove
@@ -319,21 +319,24 @@
 de%0A    p
-ublic
+rotected
  void on
@@ -371,43 +371,8 @@
 tate
-, PersistableBundle persistentState
 ) %7B%0A
@@ -416,25 +416,8 @@
 tate
-, persistentState
 );%0A 
@@ -497,24 +497,32 @@
             
+   
+     
 .setDefaultF
@@ -569,24 +569,32 @@
             
+        
 .setFontAttr
@@ -613,16 +613,24 @@
 ntPath)%0A
+        
         
@@ -664,16 +664,18 @@
 %0A    %7D%0A%0A
+%0A%0A
     @Ove

Fix incorrect onCreate in BaseActivity