nebraska: Detect update/install operation.
An install request is distinguished from an update request based on
whether or not the platform app includes an update_check tag. Currently,
we don't have any reliable way of detecting whether an appid is for the
platform app, since update engine does not distinguish between DLCs and
the platform app when constructing a request. Since update requests are
never mixed with events or pings, we make the assumption that if the
update_check tag is omitted from any app request, it is the platform app
and the request is for an install.
TEST=Unittests still pass, manual testing.
Commit-Ready: Colin Howes <email@example.com>
Tested-by: Colin Howes <firstname.lastname@example.org>
Reviewed-by: Amin Hassani <email@example.com>
2 files changed