fix: permission issues of inrt

This commit is contained in:
hyb1996
2017-10-25 22:06:09 +08:00
parent 70383a97df
commit 60f9e8e74f
7 changed files with 97 additions and 80 deletions

View File

@@ -1,6 +1,9 @@
package com.stardust.scriptdroid.ui.build;
import android.annotation.SuppressLint;
import android.app.ListActivity;
import android.app.PendingIntent;
import android.content.Intent;
import android.util.Log;
import android.widget.EditText;
import android.widget.Toast;
@@ -76,6 +79,12 @@ public class BuildActivity extends BaseActivity implements AutoJsApkBuilder.Prog
mAppName.setText(file.getSimplifiedName());
}
@Override
protected void onNewIntent(Intent intent) {
super.onNewIntent(intent);
}
@Click(R.id.select_source)
void selectSourceFilePath() {
String initialDir = new File(mSourcePath.getText().toString()).getParent();