Polls a manifest to discover per-component update endpoints (currently just webview) and silently installs/switches providers without a full system OTA.
12 lines
351 B
Plaintext
12 lines
351 B
Plaintext
/*
|
|
* SPDX-FileCopyrightText: oxmc / PawletOS
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
package pawletos.bgupd;
|
|
|
|
oneway interface IUpdateCallback {
|
|
void onProgress(String componentId, int percent, String message);
|
|
void onSuccess(String componentId, String newVersion);
|
|
void onFailure(String componentId, int errorCode, String message);
|
|
}
|