Avoid prompting for storage permission for now

This commit is contained in:
Fredrik Fornwall
2015-12-27 13:46:20 +01:00
parent 468185efb3
commit 961e06379b

View File

@@ -94,8 +94,8 @@ public final class TermuxActivity extends Activity implements ServiceConnection
private static final String RELOAD_STYLE_ACTION = "com.termux.app.reload_style"; private static final String RELOAD_STYLE_ACTION = "com.termux.app.reload_style";
/** The main view of the activity showing the terminal. */ /** The main view of the activity showing the terminal. Initialized in onCreate(). */
@NonNull TerminalView mTerminalView; @SuppressWarnings("NullableProblems") @NonNull TerminalView mTerminalView;
final FullScreenHelper mFullScreenHelper = new FullScreenHelper(this); final FullScreenHelper mFullScreenHelper = new FullScreenHelper(this);
@@ -326,8 +326,6 @@ public final class TermuxActivity extends Activity implements ServiceConnection
mTerminalView.checkForTypeface(); mTerminalView.checkForTypeface();
mTerminalView.checkForColors(); mTerminalView.checkForColors();
ensureStoragePermissionGranted();
TermuxInstaller.setupStorageSymlinks(this); TermuxInstaller.setupStorageSymlinks(this);
mBellSoundId = mBellSoundPool.load(this, R.raw.bell, 1); mBellSoundId = mBellSoundPool.load(this, R.raw.bell, 1);