Skip to content

feat/ADFA-3603 ndk plugin#2

Merged
jomen-adfa merged 7 commits into
mainfrom
feat/ADFA-3603-ndk-plugin
Apr 24, 2026
Merged

feat/ADFA-3603 ndk plugin#2
jomen-adfa merged 7 commits into
mainfrom
feat/ADFA-3603-ndk-plugin

Conversation

@jomen-adfa

Copy link
Copy Markdown
Contributor

initial commit for ndk plugin

Comment thread ndk-installer-plugin/build.gradle.kts Outdated
}

android {
namespace = "com.codeonthego.ndkinstaller"

@Daniel-ADFA Daniel-ADFA Apr 24, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jomen-adfa please use org.appdevforal. for the package name

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changed package name to org.appdevforall

Comment thread ndk-installer-plugin/settings.gradle.kts Outdated
Comment on lines +113 to +114
.description("An NDK and CMake binary installer with corresponding NDK Activity template")
.showPackageNameOption()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that the template.json file is unused, for the saveLocation parameter, you can use the default location

".defaultSaveLocation("")"

@jomen-adfa jomen-adfa Apr 24, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems when saveLocation is omitted it appears as expected.

Screenshot 2026-04-23 at 11 46 44 PM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, this is the default fallback if none is provided

@jatezzz jatezzz left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jomen-adfa
jomen-adfa merged commit ea64a29 into main Apr 24, 2026
fryanpan added a commit that referenced this pull request May 11, 2026
…ff Main

Three changes in one commit since they all touch the same fragment:

- Bounded bitmap decode (#4): two-pass decode with inSampleSize keyed
  off display width. A full-resolution 2048x2048 PNG as ARGB_8888 is
  ~16 MB of native heap; on the team's 2-4 GB target devices, repeated
  decodes risk OOM. New decodeBitmapBounded helpers in the companion
  object, used by both the cold-start render and the fetch path.

- Move cold-start render off Main (#5): renderFromCacheAsync replaces
  renderFromCache. JSON parse + PNG decode now happen on Dispatchers.IO
  via lifecycleScope; the showComic hop returns to Main. Removes a
  measurable jank window during fragment inflation.

- Remove dead legendView field (#6): declared, assigned, nulled, never
  read. The legend text comes straight from the XML resource.
  Document the URI permission caveat on copyImageToClipboard (#2):
  ClipData.newUri does not auto-grant FLAG_GRANT_READ_URI_PERMISSION;
  we rely on the host FileProvider's grantUriPermissions=true and the
  system's clipboard-handler logic. Verified on real device per the
  test-case S4 gate.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants