Finalize env.isAppPortalable API proposal (#297177)

This commit is contained in:
Dmitriy Vasyura
2026-02-24 11:43:00 -08:00
committed by GitHub
parent 59ce732b52
commit e395fe2993
9 changed files with 15 additions and 36 deletions

View File

@@ -402,10 +402,7 @@ export function createApiFactoryAndRegisterActors(accessor: ServicesAccessor): I
checkProposedApiEnabled(extension, 'devDeviceId');
return initData.telemetryInfo.devDeviceId ?? initData.telemetryInfo.machineId;
},
get isAppPortable() {
checkProposedApiEnabled(extension, 'envIsAppPortable');
return initData.environment.isPortable ?? false;
},
get isAppPortable() { return initData.environment.isPortable ?? false; },
get sessionId() { return initData.telemetryInfo.sessionId; },
get language() { return initData.environment.appLanguage; },
get appName() { return initData.environment.appName; },