Skip to content

Rebrand application ID to io.github.aptg.dedx#22

Merged
nbassler merged 2 commits into
mainfrom
11-15
Apr 26, 2026
Merged

Rebrand application ID to io.github.aptg.dedx#22
nbassler merged 2 commits into
mainfrom
11-15

Conversation

@nbassler
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings April 26, 2026 13:02
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR rebrands the Android app’s package/namespace/applicationId from dk.au.aptg.dEdx to io.github.aptg.dedx, aligning Java package declarations, Gradle configuration, and JNI entrypoints to the new application ID.

Changes:

  • Updated Java package declarations to io.github.aptg.dedx.
  • Updated Gradle namespace and applicationId to io.github.aptg.dedx.
  • Renamed JNI-exported native function entrypoints in dEdx.c to match the new Java package.

Reviewed changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
app/src/main/java/io/github/aptg/dedx/MainActivity.java Updates package declaration to new app namespace.
app/src/main/java/io/github/aptg/dedx/InverseFragment.java Updates package declaration to new app namespace.
app/src/main/java/io/github/aptg/dedx/DedxIdxNameAdapter.java Updates package declaration to new app namespace.
app/src/main/java/io/github/aptg/dedx/DedxIdxName.java Updates package declaration to new app namespace.
app/src/main/java/io/github/aptg/dedx/DedxFragment.java Updates package declaration to new app namespace.
app/src/main/java/io/github/aptg/dedx/DedxAPI.java Updates package declaration to new app namespace (JNI-bound class).
app/src/main/java/io/github/aptg/dedx/AboutActivity.java Updates package declaration to new app namespace.
app/src/main/cpp/dEdx.c Updates JNI function names to match new Java package.
app/build.gradle Updates namespace and applicationId to io.github.aptg.dedx.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/cpp/dEdx.c
Comment on lines 97 to 99
jint
Java_dk_au_aptg_dEdx_DedxAPI_dedxExit(JNIEnv* env, jobject thiz) {
Java_io_github_aptg_dedx_DedxAPI_dedxExit(JNIEnv* env, jobject thiz) {
int err = 0;
Copy link

Copilot AI Apr 26, 2026

Choose a reason for hiding this comment

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

Native code still looks up DedxIdxName using the old class path (FindClass("dk/au/aptg/dEdx/DedxIdxName")). After changing the Java package/namespace to io.github.aptg.dedx, this FindClass will fail and JNI calls that build lists (programs/ions/materials) will return NULL / crash. Update the FindClass string to the new package path (io/github/aptg/dedx/DedxIdxName) to match the rebrand.

Copilot uses AI. Check for mistakes.
@nbassler nbassler merged commit f552045 into main Apr 26, 2026
1 check passed
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.

2 participants