Only act on event if something actually changed

Dock events were forcing the device into AOD mode, and overriding the
proximity sensor.

Test: manual
Test: atest DozeDockHandlerTest
Fixes: 152377547
Change-Id: I250a0952ac82bc0690676e1c27f839179d7fa4f7
2 files changed