autoupdate: Return response with client's app ID

Currently in autoupdate we sent a default hard coded app ID to the
client. However, this is not the bahvior of omaha, as omaha always, reply with
the same app ID requested by the user. This CL, modifes this bahavior in
autoupdate to return the app ID associated with the client's request.

TEST=cros flash

Change-Id: I7cd36c8e7ed6e36bed257a5373e62483136b585e
Commit-Ready: Amin Hassani <>
Tested-by: Amin Hassani <>
Reviewed-by: Xixuan Wu <>
Reviewed-by: Don Garrett <>
(cherry picked from commit d7a913a3455a4e857a11889516f9c7bf6204bf23)
Reviewed-by: Keith Haddow <>
Commit-Queue: Keith Haddow <>
Tested-by: Keith Haddow <>
2 files changed