summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Lucas Dupin <dupin@google.com> 2019-12-02 17:13:54 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2019-12-02 17:13:54 +0000
commit2f79f57d66b55988af30e36fc0d5ad0caad8be67 (patch)
tree61e178434eebbb0b3d4045394673413cf6293f95
parent0ae87ec49493c3091ea035e29fb0e68af1fbe704 (diff)
parent0e6ea2f549bca92450690a19cda450804b56c073 (diff)
Merge "There should be an UNKNOWN state to handle more conditions" into qt-qpr1-dev
-rw-r--r--packages/SystemUI/src/com/android/systemui/dock/DockManager.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/dock/DockManager.java b/packages/SystemUI/src/com/android/systemui/dock/DockManager.java
index 42e065a113e6..4ee2ed3e34c0 100644
--- a/packages/SystemUI/src/com/android/systemui/dock/DockManager.java
+++ b/packages/SystemUI/src/com/android/systemui/dock/DockManager.java
@@ -35,6 +35,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.
*/
int ALIGN_STATE_GOOD = 0;