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

Commit 0e6ea2f5 authored by Chris.CC Lee's avatar Chris.CC Lee Committed by Lucas Dupin
Browse files

There should be an UNKNOWN state to handle more conditions

Driver could report error while calculating alignment conditions.

Test: make
Bug: b/144822861
Bug: b/144905377
Change-Id: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
Merged-In: Ic184b8f30c9e40c14e6edf92cc63b5b2a82be68d
parent f998947a
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.
     */