java.lang.RuntimeException: Unable to start activity ComponentInfo{com.miui.calculator/com.miui.calculator.cal.CalculatorActivity}: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 19) starts before 0
at android.app.ActivityThread.performLaunchActivity(Unknown Source:621)
at android.app.ActivityThread.handleLaunchActivity(Unknown Source:47)
at android.app.servertransaction.LaunchActivityItem.execute(Unknown Source:63)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(Unknown Source:77)
at android.app.servertransaction.TransactionExecutor.execute(Unknown Source:73)
at android.app.ActivityThread$H.handleMessage(Unknown Source:43)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loop(Unknown Source:244)
at android.app.ActivityThread.main(Unknown Source:98)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:275)
Caused by: java.lang.IndexOutOfBoundsException: setSpan (-1 ... 19) starts before 0
at android.text.SpannableStringBuilder.checkRange(Unknown Source:46)
at android.text.SpannableStringBuilder.setSpan(Unknown Source:13)
at android.text.SpannableStringBuilder.setSpan(Unknown Source:7)
at com.miui.calculator.common.utils.UserNoticeUtil.c(Unknown Source:65)
at com.miui.calculator.common.utils.UserNoticeUtil.a(Unknown Source:16)
at com.miui.calculator.cal.CalculatorTabActivity.n(Unknown Source:21)
at com.miui.calculator.cal.CalculatorTabActivity.onCreate(Unknown Source:103)
at com.miui.calculator.cal.CalculatorActivity.onCreate(Unknown Source:9)
at android.app.Activity.performCreate(Unknown Source:19)
at android.app.Activity.performCreate(Unknown Source:1)
at android.app.Instrumentation.callActivityOnCreate(Unknown Source:3)
at android.app.ActivityThread.performLaunchActivity(Unknown Source:376)
... 11 more