summaryrefslogtreecommitdiff
path: root/libs/ui/Gralloc2.cpp
diff options
context:
space:
mode:
author Siarhei Vishniakou <svv@google.com> 2019-11-23 13:42:41 -0800
committer Siarhei Vishniakou <svv@google.com> 2019-11-26 13:03:54 -0800
commit3b37f9a0b60464ec89b530e6cebc2c3236d0cebc (patch)
tree0df081f5f72fe78b0db22121c5927d5dbe818805 /libs/ui/Gralloc2.cpp
parent27936a638d064cf36dfa85720cb9a819ef23ae4c (diff)
Add toString and remove default case
For a future CL, we will need to print some bools. To facilitate that, add a "toString" function. Also, if we add a focus type, it would be good that the compiler highlights cases where the new type isn't being handled in a switch statement. Therefore, remove all default cases in switch statements where feasible. Because we are now adding an "unused" function that compiler complains about, also convert DEBUG_TRANSPORT_ACTIONS into a constexpr bool. Bug: none Test: presubmit Change-Id: Ie8472707f1699d2009232b9f36abae9a36a97f5f
Diffstat (limited to 'libs/ui/Gralloc2.cpp')
0 files changed, 0 insertions, 0 deletions