There should be an UNKNOWN state to handle more conditions

Driver could report error while calculating alignment conditions.

Test: make

Change-Id: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
This commit is contained in:
Chris.CC Lee
2019-11-26 18:57:30 +08:00
parent 75275ad59c
commit aa2004b436

View File

@@ -34,6 +34,12 @@ public interface DockManager {
*/
int STATE_DOCKED_HIDE = 2;
/**
* Indicates there's no alignment info. This could happen when the device is unable to decide
* its alignment condition.
*/
int ALIGN_STATE_UNKNOWN = -1;
/**
* Indicates there's no alignment issue.
*/