Handle the case where we have one initial unconfigured screen.

TEST=by hand
BUG=chromium-os:29199

Change-Id: I9d89f0668fcf8c2b045a9b164dba712fd7e34c22
Reviewed-on: https://gerrit.chromium.org/gerrit/22779
Tested-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Antoine Labour <piman@chromium.org>
2 files changed
tree: 59db5649467a2496b1cc7f71ef581d3aed477d4c
  1. config/
  2. .gitignore
  3. 99-usb-hid-wake.rules
  4. activity_detector_interface.h
  5. ambient_light_sensor.cc
  6. ambient_light_sensor.h
  7. async_file_reader.cc
  8. async_file_reader.h
  9. async_file_reader_unittest.cc
  10. audio_detector.cc
  11. audio_detector.h
  12. backlight.cc
  13. backlight.h
  14. backlight_controller.h
  15. backlight_dbus_tool.cc
  16. backlight_interface.h
  17. backlight_tool.cc
  18. backlight_unittest.cc
  19. common.mk
  20. debug_sleep_quickly
  21. external_backlight.cc
  22. external_backlight.h
  23. external_backlight_client.cc
  24. external_backlight_client.h
  25. external_backlight_controller.cc
  26. external_backlight_controller.h
  27. external_backlight_controller_unittest.cc
  28. file_tagger.cc
  29. file_tagger.h
  30. file_tagger_unittest.cc
  31. idle_dimmer_unittest.cc
  32. inherit-review-settings-ok
  33. inotify.cc
  34. inotify.h
  35. input.cc
  36. input.h
  37. internal_backlight_controller.cc
  38. internal_backlight_controller.h
  39. internal_backlight_controller_unittest.cc
  40. LICENSE
  41. Makefile
  42. metrics_constants.cc
  43. metrics_constants.h
  44. metrics_store.cc
  45. metrics_store.h
  46. metrics_store_unittest.cc
  47. mock_activity_detector.h
  48. mock_backlight.h
  49. mock_backlight_controller_observer.h
  50. mock_metrics_store.h
  51. mock_monitor_reconfigure.h
  52. mock_rolling_average.h
  53. mock_xsync.cc
  54. mock_xsync.h
  55. monitor_reconfigure.cc
  56. monitor_reconfigure.h
  57. org.chromium.PowerManager.conf
  58. OWNERS
  59. plug_dimmer_unittest.cc
  60. power_constants.cc
  61. power_constants.h
  62. power_prefs.cc
  63. power_prefs.h
  64. power_prefs_interface.h
  65. power_state_tool.cc
  66. power_supply.cc
  67. power_supply.h
  68. power_supply_info.cc
  69. power_supply_unittest.cc
  70. powerd.cc
  71. powerd.h
  72. powerd_lock_screen
  73. powerd_main.cc
  74. powerd_metrics.cc
  75. powerd_suspend
  76. powerd_unittest.cc
  77. powerman.cc
  78. powerman.h
  79. powerman_main.cc
  80. powerman_metrics.cc
  81. powerman_unittest.cc
  82. README
  83. resolution_selector.cc
  84. resolution_selector.h
  85. resolution_selector_unittest.cc
  86. rolling_average.cc
  87. rolling_average.h
  88. rolling_average_unittest.cc
  89. RootPowerManager.conf
  90. screen_locker.cc
  91. screen_locker.h
  92. send_metrics_on_resume
  93. signal_callback.h
  94. state_control.cc
  95. state_control.h
  96. state_control_unittest.cc
  97. suspend_delay_sample.cc
  98. suspender.cc
  99. suspender.h
  100. testrunner.cc
  101. usb-hid-wake.sh
  102. util.cc
  103. util.h
  104. util_dbus.cc
  105. util_dbus.h
  106. video_detector.cc
  107. video_detector.h
  108. WATCHLISTS
  109. xidle.cc
  110. xidle.h
  111. xidle_example.cc
  112. xidle_observer.h
  113. xidle_unittest.cc
  114. xsync.cc
  115. xsync.h