New ApproveSignInActivity + PendingApprovalWorker (WorkManager, 15min periodic check + notification). VerifyDeviceActivity now polls /api/login-status so sign-in completes automatically once approved on a trusted device, no code typing needed. Also restored com.google.android.material and pointed the window theme at Theme.Material3.DayNight.Dialog.Alert (was a bare platform theme).
42 lines
975 B
Plaintext
42 lines
975 B
Plaintext
//
|
|
// Copyright (C) 2026 oxmc / PawletOS
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
android_app {
|
|
name: "OxmcSSO",
|
|
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
resource_dirs: ["res"],
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
sdk_version: "current",
|
|
system_ext_specific: true,
|
|
|
|
static_libs: [
|
|
"androidx.security_security-crypto",
|
|
"androidx.work_work-runtime",
|
|
"okhttp3",
|
|
"com.google.android.material_material",
|
|
|
|
"androidx.activity_activity-compose",
|
|
"androidx.compose.foundation_foundation",
|
|
"androidx.compose.material_material-icons-core",
|
|
"androidx.compose.material_material-icons-extended",
|
|
"androidx.compose.material3_material3",
|
|
"androidx.compose.runtime_runtime",
|
|
"androidx.compose.ui_ui",
|
|
"androidx.compose.ui_ui-tooling-preview",
|
|
],
|
|
|
|
kotlincflags: ["-Xjvm-default=all"],
|
|
|
|
optimize: {
|
|
enabled: false,
|
|
},
|
|
}
|