mirror of
https://github.com/fankes/termux-app.git
synced 2025-09-07 03:05:18 +08:00
Avoid prompting for storage permission for now
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user