diff options
| author | 2019-02-27 00:01:45 +0000 | |
|---|---|---|
| committer | 2019-02-27 00:01:45 +0000 | |
| commit | 1f24ccf2f602b7aacd4d8731f8f2a94d24442472 (patch) | |
| tree | f58477ffdbcd97d34f4c682f28f8b8b0b649cd4a /libs/androidfw/DisplayEventDispatcher.cpp | |
| parent | 54beaa6c2ac2f9681e851df19d82b3a95014c13f (diff) | |
| parent | a5a21f70e125d58184f5446863fc4e3ac022e149 (diff) | |
Merge changes from topic "display_policy"
* changes:
DisplayEventDispatcher: add DISPLAY_EVENT_CONFIG_CHANGED
SurfaceControl: add setAllowedDisplayConfigs
Diffstat (limited to 'libs/androidfw/DisplayEventDispatcher.cpp')
| -rw-r--r-- | libs/androidfw/DisplayEventDispatcher.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libs/androidfw/DisplayEventDispatcher.cpp b/libs/androidfw/DisplayEventDispatcher.cpp index 3b9a348047ba..660614895603 100644 --- a/libs/androidfw/DisplayEventDispatcher.cpp +++ b/libs/androidfw/DisplayEventDispatcher.cpp @@ -135,6 +135,9 @@ bool DisplayEventDispatcher::processPendingEvents( case DisplayEventReceiver::DISPLAY_EVENT_HOTPLUG: dispatchHotplug(ev.header.timestamp, ev.header.displayId, ev.hotplug.connected); break; + case DisplayEventReceiver::DISPLAY_EVENT_CONFIG_CHANGED: + dispatchConfigChanged(ev.header.timestamp, ev.header.displayId, ev.config.configId); + break; default: ALOGW("dispatcher %p ~ ignoring unknown event type %#x", this, ev.header.type); break; |