Mark StatsLog.writeRaw as deprecated

This SystemApi is exposed from the statsd Mainline module.
This method should've been deprecated in R when statsd became a Mainline
module. Statsd switched to a new protocol in R and this method was for
the legacy protocol. This method is effectively no-op since R as any
clients calling this method on R+ platforms are effectively resulting in
dropped events due to parsing failure in statsd. So although this is a
Mainline module-backed SystemApi, marking it as deprecated should be
safe.

Bug: 144935988
Test: m framework-statsd
Change-Id: I525e7c9252294c81240c707e5627bd58fb2421ba
2 files changed