Adopt the cc.tiredsysadmin namespace and a Makefile entrypoint (v0.22.0)

Brings the project in line with CLAUDE.md:

- Application id / namespace is now cc.tiredsysadmin.android.sizzle
  (cc.tiredsysadmin.<os>.<application>), including the two JNI symbols in
  native_audio.cpp — JNI resolves by mangled package path, so renaming the
  package alone would fail at runtime, not at build time.
- Versions move to versions.properties at the repo root, read by both Gradle
  and the Makefile, with slots for the other platforms. The release APK name
  now derives from applicationId instead of being spelled out.
- Makefile becomes the build/publish entrypoint: atomic targets with real
  dependencies (deps, check, staging, release, install, dist, bump-*), and a
  manual-only publish split into publish-apk / publish-metadata, which also
  regenerates the F-Droid metadata from versions.properties.
- Annotate the two lint errors in MainActivity that this surfaced
  (ComponentActivity.dispatchKeyEvent's LIBRARY_GROUP_PREFIX restriction,
  media3's UnstableApi) so `make check` is green rather than advisory.
- Document identity, versioning, build types and publishing in the handover
  doc; point the README at make.

NOTE: the id change makes this a different app to Android and to F-Droid.
Installs of space.rcmd.android.sizzle will not be upgraded by it and will sit
side by side with the new one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Reactorcoremeltdown
2026-11-03 16:54:48 +01:00
co-authored by Claude Opus 5
parent 924b84a4d5
commit fdee7853e5
85 changed files with 734 additions and 385 deletions
+2 -2
View File
@@ -214,7 +214,7 @@ extern "C" JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void * /*reserved*/) {
}
extern "C" JNIEXPORT jboolean JNICALL
Java_space_rcmd_android_sizzle_audio_NativeAudioBridge_nativeStart(
Java_cc_tiredsysadmin_android_sizzle_audio_NativeAudioBridge_nativeStart(
JNIEnv *env, jobject /*thiz*/, jobject callback, jint sampleRate, jint framesPerCallback) {
g_callback = env->NewGlobalRef(callback);
jclass cls = env->GetObjectClass(callback);
@@ -241,7 +241,7 @@ Java_space_rcmd_android_sizzle_audio_NativeAudioBridge_nativeStart(
}
extern "C" JNIEXPORT void JNICALL
Java_space_rcmd_android_sizzle_audio_NativeAudioBridge_nativeStop(
Java_cc_tiredsysadmin_android_sizzle_audio_NativeAudioBridge_nativeStop(
JNIEnv *env, jobject /*thiz*/) {
g_wantRunning = false; // stop the disconnect-recovery from reopening
if (g_stream) {