Commit a41a401f authored by Victor Hsieh's avatar Victor Hsieh Committed by Commit Bot

Prevent build error with the latest dep roll

The dep roll is currently blocked due to a recent change that adds a new
value to the enum:

  error: enumeration value 'InputEvent_Type_DOUBLE_TAP' not handled in
  switch [-Werror,-Wswitch]

This change unblocks the roll.

https://chromium-review.googlesource.com/c/chromiumos/platform2/+/1873850
https://chromium-review.googlesource.com/c/chromium/src/+/1907072

Test: Build
Bug: None
Change-Id: I00e27b31d35607d094dff60f196e9b7307e9e89e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1913019
Auto-Submit: Victor Hsieh <victorhsieh@chromium.org>
Reviewed-by: default avatarDavid Jacobo <djacobo@chromium.org>
Reviewed-by: default avatarSteven Bennetts <stevenjb@chromium.org>
Commit-Queue: Victor Hsieh <victorhsieh@chromium.org>
Cr-Commit-Position: refs/heads/master@{#714720}
parent c794eae3
...@@ -1056,6 +1056,9 @@ class PowerManagerClientImpl : public PowerManagerClient { ...@@ -1056,6 +1056,9 @@ class PowerManagerClientImpl : public PowerManagerClient {
for (auto& observer : observers_) for (auto& observer : observers_)
observer.TabletModeEventReceived(TabletMode::OFF, timestamp); observer.TabletModeEventReceived(TabletMode::OFF, timestamp);
break; break;
default:
// TODO(henryhsu): handle the missing cases.
break;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment