- Android.bp: sdk_version is empty (platform APIs) but platform_apis wasn't set, which Soong doesn't just reject cleanly -- it panics. - PawletCacheService.kt was missing the pawletos.cache.IPawletCacheService import (different package than the file's own os.pawlet.cache). - CacheToken.isExpired called CacheTokenVerifier's private parseIso8601, invisible outside that object; moved it to file scope so both can use it.
39 lines
937 B
Plaintext
39 lines
937 B
Plaintext
//
|
|
// Copyright (C) 2026 oxmc / PawletOS
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
// Shared with BgUpd (and later the OTA/media resolvers) so callers can bind
|
|
// IPawletCacheService without duplicating the AIDL sources.
|
|
aidl_interface {
|
|
name: "pawletos.cache-aidl",
|
|
unstable: true,
|
|
local_include_dir: "aidl",
|
|
srcs: ["aidl/pawletos/cache/*.aidl"],
|
|
}
|
|
|
|
android_app {
|
|
name: "PawletCache",
|
|
|
|
srcs: ["src/**/*.kt"],
|
|
resource_dirs: ["res"],
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
// No hidden-API/privileged-permission surface needed — just platform-signed
|
|
// so BgUpd (also platform-signed) can hold the signature-level BIND_RESOLVER
|
|
// permission this app defines.
|
|
platform_apis: true,
|
|
certificate: "platform",
|
|
system_ext_specific: true,
|
|
|
|
static_libs: [
|
|
"androidx.core_core-ktx",
|
|
"pawletos.cache-aidl-java",
|
|
],
|
|
|
|
optimize: {
|
|
enabled: false,
|
|
},
|
|
}
|