| bymason.platform.FotaManagerPrivileged |
Privileged interface for managing OTA updates. Runs as system_server \u2014 has access to UpdateEngine and RecoverySystem.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Requests installation of the system update represented by uuid.
| |||||||||||
Requests installation of the system update represented by uuid. The process for obtaining a uuid is registering a BroadcastReceiver with the following filter:
<intent-filter>
<action android:name="com.bymason.platform.INSTALL_UPDATE" />
</intent-filter>
The intent will contain a single target_uuid extra. There should only ever be a single
uuid for installation at any given time, so when a new one is received, any previous
uuid may be discarded.
In order for the system to know what package to send the intent to, the system must be configured with:
mason-core:
config_install_prompt_package: <your-package-name>
If for some reason this package is not found, the normal configured behavior will occur.
| Parameters | |
|---|---|
uuid |
String: The uuid of the system update to install |