@ -227,6 +227,7 @@ public class NoteEditActivity extends Activity implements OnClickListener,
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.setContentView(R.layout.note_edit);
checkStoragePermissions(this);//动态申请权限
if (savedInstanceState == null && !initActivityState(getIntent())) {
finish();