We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
根据源码Protector.java源码片段: public void init(Application application) { ....... ProtectorSpUtils.putInt(SpConstant.CRASHCONUT, ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0) + 1); ...... int countNow = ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0); if (countNow > Times_FirstLevel) { ........ if (countNow > Times_SecondLevel) { // clear all ProtectorLogUtils.i("enter level two"); **ProtectorClearer.clearAllFile(sContext);** if (countNow >= Times_WorstLevel && mSynProtectorTask != null) { // fix operation ......... } } } new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { @Override public void run() { markLanuchSucceed(); } }, 10000); } 其中ProtectorClearer.clearAllFile(sContext);已经清理了应用数据,应用再次启动后SpConstant.CRASHCONUT值应该从0开始了,应该始终不会满足条件if (countNow >= Times_WorstLevel && mSynProtectorTask != null),不知道对不对?
public void init(Application application) { ....... ProtectorSpUtils.putInt(SpConstant.CRASHCONUT, ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0) + 1); ...... int countNow = ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0); if (countNow > Times_FirstLevel) { ........ if (countNow > Times_SecondLevel) { // clear all ProtectorLogUtils.i("enter level two"); **ProtectorClearer.clearAllFile(sContext);** if (countNow >= Times_WorstLevel && mSynProtectorTask != null) { // fix operation ......... } } } new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { @Override public void run() { markLanuchSucceed(); } }, 10000); }
ProtectorClearer.clearAllFile(sContext);
SpConstant.CRASHCONUT
if (countNow >= Times_WorstLevel && mSynProtectorTask != null)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
根据源码Protector.java源码片段:
public void init(Application application) { ....... ProtectorSpUtils.putInt(SpConstant.CRASHCONUT, ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0) + 1); ...... int countNow = ProtectorSpUtils.getInt(SpConstant.CRASHCONUT, 0); if (countNow > Times_FirstLevel) { ........ if (countNow > Times_SecondLevel) { // clear all ProtectorLogUtils.i("enter level two"); **ProtectorClearer.clearAllFile(sContext);** if (countNow >= Times_WorstLevel && mSynProtectorTask != null) { // fix operation ......... } } } new Handler(Looper.getMainLooper()).postDelayed(new Runnable() { @Override public void run() { markLanuchSucceed(); } }, 10000); }
其中
ProtectorClearer.clearAllFile(sContext);
已经清理了应用数据,应用再次启动后SpConstant.CRASHCONUT
值应该从0开始了,应该始终不会满足条件if (countNow >= Times_WorstLevel && mSynProtectorTask != null)
,不知道对不对?The text was updated successfully, but these errors were encountered: