commit | 45de9bdad463f47dd3619dbd64565bad6a351766 | [log] [tgz] |
---|---|---|
author | Dominik Laskowski <domlaskowski@google.com> | Mon Jun 11 17:44:10 2018 -0700 |
committer | Dominik Laskowski <domlaskowski@google.com> | Tue Jun 19 15:12:31 2018 -0700 |
tree | 58ec0c7128d34b2646f622ba5b5817464e4a4208 | |
parent | f07b85be65fde901512dc2f1c8208e1ee087c37f [diff] |
SF: Do not assume existence of primary display This CL adds checks and assertions to DisplayDevice and IBinder lookup for the primary display. It also removes HWC_DISPLAY_PRIMARY constants in the SurfaceFlinger class. Bug: 74619554 Test: libsurfaceflinger_unittest Change-Id: I966d3fd8843e0392cc48a39610d2105d80453747