Skip to content

Commit

Permalink
fix version query on old webOS
Browse files Browse the repository at this point in the history
On webOS 1, com.webos.service.systemservice doesn't exist. Instead it is
named com.palm.systemservice. This alias still exists on webOS 8.
  • Loading branch information
throwaway96 authored and mariotaku committed Feb 5, 2024
1 parent 1beaf76 commit 9861c34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/core/services/device-manager.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export class DeviceManagerService extends BackendClient {
const systemInfo = await this.luna.call<SystemInfo>(device, 'luna://com.webos.service.tv.systemproperty/getSystemInfo', {
keys: ['firmwareVersion', 'modelName', 'sdkVersion', 'otaId']
});
const osInfo = await this.luna.call<Partial<OsInfo>>(device, 'luna://com.webos.service.systemservice/osInfo/query', {
const osInfo = await this.luna.call<Partial<OsInfo>>(device, 'luna://com.palm.systemservice/osInfo/query', {
parameters: ['webos_manufacturing_version', 'webos_release']
}).catch(() => null);
return {
Expand Down

0 comments on commit 9861c34

Please sign in to comment.