Replaces the LineageOS-based Java wizard with a new Kotlin/Jetpack Compose wizard built on the PawletOS design language. Key changes: - Extensible WizardPage registry with DeviceProfile-based gating (phone/tablet/embedded form factors, hasWifi, hasTelephony) - SetupWizardManager drives navigation via StateFlow<Int> over a runtime-built page list; supports oxn://page?id= deep link jumps - Circular-reveal collapse animation on finish (900ms, matches LineageOS FinishActivity behaviour) via Compose drawWithContent/clipPath - finishSetupWizard() sets DEVICE_PROVISIONED + USER_SETUP_COMPLETE and disables the HOME component on completion - EntryPoint registered with CATEGORY_HOME + CATEGORY_SETUP_WIZARD so AOSP launches the wizard on first boot - Deep link handling: cdn.oxmc.me / oxmc.me / pawlet.oxmc.me (http/https) and oxn:// scheme (apk install, page navigation, management) - Full package rename: dev.oxmc.setupwizard -> me.pawlet.setupwizard - Dual build system: Gradle (app/build.gradle.kts) for Studio development, Android.bp + root AndroidManifest.xml for AOSP/Soong ROM build - Signed with platform certificate, system_ext, sharedUserId=android.uid.system
27 lines
623 B
Kotlin
27 lines
623 B
Kotlin
pluginManagement {
|
|
repositories {
|
|
google {
|
|
content {
|
|
includeGroupByRegex("com\\.android.*")
|
|
includeGroupByRegex("com\\.google.*")
|
|
includeGroupByRegex("androidx.*")
|
|
}
|
|
}
|
|
mavenCentral()
|
|
gradlePluginPortal()
|
|
}
|
|
}
|
|
plugins {
|
|
id("org.gradle.toolchains.foojay-resolver-convention") version "1.0.0"
|
|
}
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
}
|
|
}
|
|
|
|
rootProject.name = "SetupWizard"
|
|
include(":app")
|
|
|