Allow multiple device states to be treated as folded.

Allows more than two device states to be treated as folded when it comes
to camera switching and display mapping. For example, one state may be
the closed state, but another may be a tent mode.

Bug: 173428581
Bug: 159401801
Test: Manual, build and verify multiple states trigger fold.

Change-Id: I89770e5fc81c9372e94ff4e5145796c103f6d5f7
4 files changed