Release Preview 20 shared desktop, Android and Sargo updates
Restore Gaia settings and media workflows, extend native network adapters, and align the APK payload. Generate French/English changelogs and website entries from the simplified JSON source. Validation: shared JS and Tundra unit tests; desktop workflows and persistence; signed APK payload parity; Sargo RAM and installed startup with boot readback. Android runtime qualification is recorded separately.
This commit is contained in:
parent
be2cdce823
commit
1311bed5e9
170 changed files with 19698 additions and 2495 deletions
|
|
@ -86,6 +86,18 @@
|
|||
try { return await call('platform.' + operation, params); }
|
||||
catch (error) { failure(error); }
|
||||
};
|
||||
if (app === 'communications') {
|
||||
// All Gaia call entry points use the same authorized host operation.
|
||||
window.VulpesPlatformDial = async number => {
|
||||
try {
|
||||
return navigator.mozTelephony ? await navigator.mozTelephony.dial(number) :
|
||||
await call('platform.dial', {number});
|
||||
} catch (error) {
|
||||
failure(error);
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
}
|
||||
function button(id, french, english, action) {
|
||||
const b = text(document.createElement('button'), french, english);
|
||||
b.id = id;
|
||||
|
|
@ -145,7 +157,10 @@
|
|||
event.preventDefault();
|
||||
event.stopImmediatePropagation();
|
||||
const number = document.getElementById('phone-number-view')?.value;
|
||||
if (number) run('dial', {number});
|
||||
if (number) {
|
||||
if (window.CallHandler) CallHandler.call(number, 0);
|
||||
else window.VulpesPlatformDial(number).catch(() => {});
|
||||
}
|
||||
}, true);
|
||||
async function initialize() {
|
||||
const caps = await capabilities;
|
||||
|
|
|
|||
Loading…
Reference in a new issue