|
@@ -5,6 +5,7 @@ import android.widget.Button;
|
|
|
import android.widget.EditText;
|
|
|
|
|
|
import com.cloth.clothcashier.R;
|
|
|
+import com.cloth.clothcashier.application.MyApplication;
|
|
|
import com.cloth.clothcashier.base.BaseActivity;
|
|
|
import com.cloth.clothcashier.constans.DataConstans;
|
|
|
import com.cloth.clothcashier.constans.NetWorkStatus;
|
|
@@ -14,6 +15,7 @@ import com.cloth.clothcashier.util.HookUtil;
|
|
|
import com.cloth.clothcashier.util.SharedPreferencesHelperUtil;
|
|
|
import com.cloth.clothcashier.util.StringUtil;
|
|
|
import com.cloth.clothcashier.util.ToastUtil;
|
|
|
+import com.cloth.clothcashier.util.faceutil.ConfigUtil;
|
|
|
|
|
|
import butterknife.BindView;
|
|
|
import butterknife.ButterKnife;
|
|
@@ -95,7 +97,8 @@ public class SettingPosNoActivity extends BaseActivity {
|
|
|
ToastUtil.toast("请设置激活码");
|
|
|
return;
|
|
|
} else {
|
|
|
- SharedPreferencesHelperUtil.setString(DataConstans.ACTIVE_KEY, active, this);
|
|
|
+ ConfigUtil.commitActiveKey(MyApplication.get(), active);
|
|
|
+// SharedPreferencesHelperUtil.setString(DataConstans.ACTIVE_KEY, active, this);
|
|
|
}
|
|
|
finish();
|
|
|
});
|