Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a

This commit is contained in:
OverSu 2026-11-28 12:20:19 +01:00
commit 3a1fba4efe

View file

@ -94,6 +94,12 @@ def request(value):
calls.append({'path': path, 'state': state,
'number': str(field('LineIdentification') or '')[:80]})
return calls
if operation == 'imei':
properties = bus('org.ofono', MODEM, 'org.ofono.Modem', 'GetProperties')[0]
serial = properties.get('Serial', {}).get('data')
if not isinstance(serial, str) or not re.fullmatch(r'[0-9]{15}', serial):
raise RuntimeError('RADIO_NOT_READY')
return serial
if operation == 'status':
return {
'modem': bus('org.ofono', MODEM, 'org.ofono.Modem', 'GetProperties'),