buffet: Always start PeriodicallyPollCommands

Previously if StartDevice was issued when we were offline it wouldn't
really start the device. It would notice it was offline and leave it at
that. Instead we should just check if we have a current registration and
if so start the device.

BUG=brillo:286
TEST=FEATURES=test emerge-${BOARD} buffet

Change-Id: I7dccce78a3faabd14c33f2548777a30d7e81c238
Reviewed-on: https://chromium-review.googlesource.com/252740
Reviewed-by: Christopher Wiley <wiley@chromium.org>
Commit-Queue: Nathan Bullock <nathanbullock@google.com>
Tested-by: Nathan Bullock <nathanbullock@google.com>
1 file changed
tree: 6d2938335052922764bc48a4dc409533d195aa03
  1. buffet/