Commit Graph

24 Commits

Author SHA1 Message Date
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
oxmc 21f0cd7f31 Update Android.bp 2025-09-09 12:59:48 -07:00
oxmc c293c0d6ae Update Android.bp 2025-09-09 12:49:44 -07:00
oxmc 3908f1ff1a Update Android.bp 2025-09-09 12:43:13 -07:00
oxmc 693b119579 Update Android.bp 2025-09-09 12:31:27 -07:00
oxmc 1592a072c6 Update Android.bp 2025-09-09 12:30:53 -07:00
oxmc feb7c126db Update Android.bp 2025-09-09 05:29:14 -07:00
oxmc e422827eba Update Android.bp 2025-08-19 00:48:12 -07:00
oxmc 2f3da02e6e Update Android.bp 2025-08-19 00:44:30 -07:00
oxmc 52ef3eb7e6 Update Android.bp 2025-08-19 00:24:36 -07:00
oxmc 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