oxmc de2cd5b1b5 api: use platform type (String!) for SERVICE_NAME field
Bare String in format 4.0 generates @RecentlyNonNull in from-text stubs
which is not public in stub-annotations and causes a javac error.
2026-06-15 07:50:02 +00:00
2025-09-09 05:52:49 -07:00

PawletOS Framework API

This repository contains the PawletOS framework APIs, providing both system-level and device-level functionality for apps running on PawletOS builds.

Modules

1. System API (pawletos.device.system)

Intended for system apps.

Provides access to:

  • Emulator detection
  • Root status checks
  • PawletOS detection
  • Pawlet SDK version
  • Locale information

Example usage in a system app:

import pawletos.device.system.PawletSystem;

boolean isEmulator = PawletSystem.isEmulator();
double sdkVersion = PawletSystem.getPawletSDKVersion();

2. Device API (pawletos.device)

Intended for user apps.

Provides access to device-specific information:

  • Brand and codename
  • Custom build properties (ro.pawlet.build.*)
  • Manufacture date, series, warranty info

Example usage in a user app:

import pawletos.device.PawletDevice;

String brand = PawletDevice.getBrandName(context);
String series = PawletDevice.getSeries();
S
Description
No description provided
Readme
73 KiB
Languages
Java 85.9%
AIDL 14.1%