Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aa2004b4 authored by Chris.CC Lee's avatar Chris.CC Lee
Browse files

There should be an UNKNOWN state to handle more conditions

Driver could report error while calculating alignment conditions.

Test: make

Change-Id: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
parent 75275ad5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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.
     */