Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/src/main/java/com/itsaky/androidide/app/IDEApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class IDEApplication :
/**
* [Context.getFilesDir] does a real disk check (`File.exists()`) on every call, not just
* the first - callers on the main thread (e.g. Koin's [pluginModule] resolving on first
* navigation to the Extensions Manager) trip StrictMode's DiskReadViolation. Cache it once,
* navigation to the Addons Manager) trip StrictMode's DiskReadViolation. Cache it once,
* off-main, before Koin starts (see the `onCreate()` warmup) so later reads are a plain
* field access instead of a syscall, and pluginModule/templateModule can never be the
* first to trigger the underlying disk read.
Expand Down Expand Up @@ -214,7 +214,7 @@ class IDEApplication :
// https://appdevforall-inc-9p.sentry.io/issues/6860179170/events/7177c576e7b3491c9e9746c76f806d37/

// Warm cachedFilesDir on an IO thread before Koin starts, so pluginModule/templateModule
// (resolved on the main thread on first navigation to the Extensions Manager) can never
// (resolved on the main thread on first navigation to the Addons Manager) can never
// race the disk read - see cachedFilesDir's doc. The disk access itself runs off-main;
// this only blocks onCreate() waiting for that fast, one-time result. Only safe when
// credential-protected storage is already unlocked - instance.filesDir uses the default
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ private class LongPressAwareClick(
* and Templates, defaulting to Plugins. Owns the one shared Scaffold/TopAppBar.
*
* The add FAB is shown on both tabs and accepts either archive type - this screen is the
* Extensions Manager, and "add an extension" means the same thing whichever tab you happen to be
* Addons Manager, and "add an addon" means the same thing whichever tab you happen to be
* looking at. The picked file is routed by extension and the matching tab is brought forward, so
* the result is visible where it landed. The discover-plugins action stays Plugins-only: it opens
* a plugin catalog, which has no meaning on the Templates tab.
Expand Down
4 changes: 2 additions & 2 deletions resources/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1032,8 +1032,8 @@

<!-- Plugin System -->
<string name="plugin_manager">Plugin Manager</string>
<string name="plugin_manager_title">Extensions Manager</string>
<string name="plugin_manager_summary">Manage IDE plugins and templates</string>
<string name="plugin_manager_title">Addons Manager</string>
<string name="plugin_manager_summary">Manage IDE addons</string>
<string name="msg_open_plugin_settings_failed">Could not open this plugin\'s settings</string>
<string name="plugins">Plugins</string>
<string name="no_plugins_installed">No plugins installed</string>
Expand Down