Four Kotlin files appeared in both apps. Diffed with the product names normalised, EnrollmentScanActivity was 31 lines each differing in six -- all of them comments -- and PinnedCert was 58 against 59 with identical TrustManager logic. That is the same evidence that moved the Rust half. Two parameters, both per-app, and they fail differently. A wrong URI scheme means a scanned QR is ignored, which is visible at once. A wrong Keystore alias means the app cannot unseal the token it already stored, so an enrolled phone reads as not enrolled and nothing says why -- so both existing values are recorded in the README rather than left to be rediscovered. The certificate alias went the other way and became a constant: it names an entry in a KeyStore that exists only in memory for the length of one lazy block, so nothing ever reads it back and having two of them said nothing. The drift was in both directions, as the evidence predicted: ai-app had gained localNetworkAllowed -- which matters because Android 17's ACCESS_LOCAL_NETWORK denial is invisible at the socket, and without it a blocked app and an unreachable server produce the same timeout -- and had moved to the KTX `edit` block. dev-updater had neither, and gets both. No Compose, deliberately. Nothing here draws anything; the screens are each app's own because that is where the two products actually differ. The PinnedCaCertificate generator did not move, and the README says why: all three things it varies are per-app, so sharing it means a composite build neither project has. Its one historical bug is already fixed identically in both copies.
33 lines
1.6 KiB
XML
33 lines
1.6 KiB
XML
<variant
|
|
name="debug"
|
|
package="com.example.wgapplink"
|
|
minSdkVersion="24"
|
|
targetSdkVersion="37.0"
|
|
debuggable="true"
|
|
mergedManifest="build/intermediates/merged_manifest/debug/processDebugManifest/AndroidManifest.xml"
|
|
manifestMergeReport="build/outputs/logs/manifest-merger-debug-report.txt"
|
|
proguardFiles="build/intermediates/default_proguard_files/global/proguard-android-optimize.txt-9.3.2"
|
|
partialResultsDir="build/intermediates/lint_partial_results/debug/lintAnalyzeDebug/out">
|
|
<buildFeatures/>
|
|
<sourceProviders>
|
|
<sourceProvider
|
|
manifests="src/main/AndroidManifest.xml"
|
|
javaDirectories="src/main/java:src/debug/java:src/main/kotlin:src/debug/kotlin"
|
|
resDirectories="src/main/res:src/debug/res"
|
|
assetsDirectories="src/main/assets:src/debug/assets"
|
|
keepRulesDirectories="src/main/keepRules:src/debug/keepRules"
|
|
aarKeepRulesDirectories="src/main/aarKeepRules:src/debug/aarKeepRules"/>
|
|
</sourceProviders>
|
|
<testSourceProviders>
|
|
</testSourceProviders>
|
|
<testFixturesSourceProviders>
|
|
</testFixturesSourceProviders>
|
|
<artifact
|
|
classOutputs="build/intermediates/javac/debug/compileDebugJavaWithJavac/classes:build/intermediates/built_in_kotlinc/debug/compileDebugKotlin/classes:build/intermediates/compile_r_class_jar/debug/generateDebugRFile/R.jar"
|
|
type="MAIN"
|
|
applicationId="com.example.wgapplink"
|
|
generatedSourceFolders="build/generated/ap_generated_sources/debug/out"
|
|
desugaredMethodsFiles="/home/bob/.gradle/caches/9.7.1/transforms/d5ccbf7c54a6479d5b954a83411c2367/transformed/D8BackportedDesugaredMethods.txt">
|
|
</artifact>
|
|
</variant>
|