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

}

android {
namespace = "com.codeonthego.ndkinstaller"

@Daniel-ADFADaniel-ADFAApr 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
ContributorAuthor

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 threadndk-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-adfajomen-adfaApr 24, 2026

Copy link
Copy Markdown
ContributorAuthor

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

@jatezzzjatezzz 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 mainApr 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 freeto 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

@jomen-adfa@jatezzz@alome007@Daniel-ADFA