27 Commits

Author SHA1 Message Date
oxmc
b5109e8712 build: move pawlet libraries to system_ext partition
product partition enforces PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE
which disallows platform_apis. system_ext has no such restriction and
is the correct home for ROM framework extensions.
2026-06-15 01:03:45 -07:00
oxmc
6c2d35f7c8 build: use platform_apis for pawlet libraries
ServiceManager and other @hide APIs are not in system_current stubs.
These are ROM-internal libraries; platform_apis gives full access.
2026-06-15 01:01:45 -07:00
oxmc
fb32881008 build: convert java_sdk_library to java_library
java_sdk_library metalava from-text stub compilation fails with
@RecentlyNonNull not public in stub-annotations turbine jar — a
build system limitation for non-framework sdk libraries. java_library
provides identical runtime functionality without the stub machinery.

Dependents reference pawlet-system directly instead of .stubs.system.
2026-06-15 00:55:09 -07:00
oxmc
ca279062f0 Android.bp: depend on pawlet-system.impl in pawlet-manager-service
java_library cannot depend on a java_sdk_library directly; use the .impl
variant which exposes the full implementation including AIDL-generated stubs.
2026-06-12 20:36:10 -07:00
oxmc
ec3e75de5d frameworks_pawlet: add PawletManager service + clean up APIs
Add IPawletManager AIDL interface, PawletManager client wrapper, and
PawletManagerService implementation. The service is hosted by a
privileged system app which calls:
  ServiceManager.addService(PawletManager.SERVICE_NAME, new PawletManagerService(this));

API surface:
  - Build info: getPawletVersion, getDisplayVersion, getReleaseType, getBuildDate
  - Device info: getDeviceCodename, getDeviceModel, getHardwarePlatform, getSerialNumber
  - Provisioning: isDeviceProvisioned, isUserSetupComplete
  - Feature flags: isFeatureEnabled / setFeatureEnabled (persist.pawlet.feature.*)
  - SDK version: getPawletSdkVersion

PawletDevice: remove broken resource lookup, use system props directly;
add isPawletDevice, getBuildVersion, getDisplayVersion, getReleaseType,
getHardwarePlatform, getSerialNumber, getBuildDate.

PawletSystem: remove dead SDK<24 branches; improve isRooted to check su
binary paths and Magisk; keep isEmulator with same logic.

sepolicy: vendor_internal_prop for persist.* and vendor.* props,
dontaudit for system domains; fix file_contexts JAR labels.

Android.bp: add aidl block, pawlet-manager-service java_library.
AndroidManifest: minSdk 26, targetSdk 36.
2026-06-12 20:02:46 -07:00
21f0cd7f31 Update Android.bp 2025-09-09 12:59:48 -07:00
c293c0d6ae Update Android.bp 2025-09-09 12:49:44 -07:00
3908f1ff1a Update Android.bp 2025-09-09 12:43:13 -07:00
693b119579 Update Android.bp 2025-09-09 12:31:27 -07:00
1592a072c6 Update Android.bp 2025-09-09 12:30:53 -07:00
feb7c126db Update Android.bp 2025-09-09 05:29:14 -07:00
e422827eba Update Android.bp 2025-08-19 00:48:12 -07:00
2f3da02e6e Update Android.bp 2025-08-19 00:44:30 -07:00
52ef3eb7e6 Update Android.bp 2025-08-19 00:24:36 -07:00
3fceb41cef Update Android.bp 2025-08-19 00:19:55 -07:00
oxmc
5fb77a4e15 merge libs, lol 2025-08-19 00:08:57 -07:00
oxmc
38f972c8b3 did i need that? 2025-08-19 00:07:49 -07:00
oxmc
1ca1201d25 idk 2025-08-19 00:05:46 -07:00
oxmc
cb236ba24b ignore warnings for now 2025-08-19 00:01:44 -07:00
oxmc
1f4bf7f8f1 fix 2025-08-18 23:57:55 -07:00
oxmc
62d375d885 now? 2025-08-18 23:51:26 -07:00
oxmc
d7e1d8e500 Maybe? 2025-08-18 23:48:51 -07:00
oxmc
522b53ac22 Fix comments 2025-08-18 23:46:42 -07:00
oxmc
9d96f458a8 Read docs lol 2025-08-18 23:43:02 -07:00
oxmc
752e05ce4c Change a few things 2025-08-18 21:34:17 -07:00
oxmc
da25fa7bbc Modify files 2025-08-18 19:50:49 -07:00
oxmc
0d0c0aca77 Updates 2025-08-17 13:34:04 -07:00