cras: move display rotation to system state
Display rotation is a global state concept. Store the state centrally
and notify all nodes of the update rather than store in a distributed
fashion.
This allows us to thin out the intermediate node handling logic and just
call update DSP directly.
Also update the name to be a bit clearer on the change in behaviour.
BUG=b:319274290
TEST=unittest
Change-Id: I30b8d19129e48ccad3970bd54b1c442deedfef7a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/5239644
Commit-Queue: ChromeOS Auto Retry <chromeos-auto-retry@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Judy Hsiao <judyhsiao@google.com>
Tested-by: chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com <chromeos-cop-builder@chromeos-cop.iam.gserviceaccount.com>
Auto-Submit: Curtis Malainey <cujomalainey@chromium.org>
13 files changed