Skip to content

Commit 35ff8e9

Browse files
fix(desktop): send Android SDK variables to the backend
Main now forwards the login-shell environment to the backend as a ShellEnvironmentPatch, which only carries the fields its schema lists. Add ANDROID_HOME and ANDROID_SDK_ROOT so the hydrated SDK selection reaches the server's device tools. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent b7942e8 commit 35ff8e9

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎packages/contracts/src/resourceTelemetry.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,8 @@ export type DesktopUpdateStatusReport = typeof DesktopUpdateStatusReport.Type;
297297

298298
export const ShellEnvironmentPatch = Schema.Struct({
299299
PATH: Schema.optionalKey(Schema.NullOr(Schema.String)),
300+
ANDROID_HOME: Schema.optionalKey(Schema.NullOr(Schema.String)),
301+
ANDROID_SDK_ROOT: Schema.optionalKey(Schema.NullOr(Schema.String)),
300302
DBUS_SESSION_BUS_ADDRESS: Schema.optionalKey(Schema.NullOr(Schema.String)),
301303
DISPLAY: Schema.optionalKey(Schema.NullOr(Schema.String)),
302304
LANG: Schema.optionalKey(Schema.NullOr(Schema.String)),

0 commit comments

Comments
 (0)