commit | 8d3728806c7cdb804ba560d7178b268aefa9c12f | [log] [tgz] |
---|---|---|
author | Matthew Ng <ngmatthew@google.com> | Tue Dec 20 11:06:49 2016 -0800 |
committer | Matthew Ng <ngmatthew@google.com> | Tue Dec 20 12:08:57 2016 -0800 |
tree | 4dc1557e3620c398678445711a6fa443c2e548c5 | |
parent | 6a435500d40f89849639cab2b9a55ae57e96837e [diff] [blame] |
Cancels out long press on recents fixed from previous change This fixes an error from change-id Ic9c8a5096ce9f30fc1265774ebb82c1356b1221b where the docked state was not dismissed when long pressing recents. Minimized state is also handled by not having the second vibration. Test: manual - tested home screen, minimized, dock and undock the tasks into multi-window mode Fixes: 33655754 Fixes: 29927464 Change-Id: I3adedf9d0e1dcd5fe297f7ca8b9cb8faeba8bcb1
diff --git a/packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java b/packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java index a0bae20..3cd2a7a 100644 --- a/packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java +++ b/packages/SystemUI/src/com/android/systemui/stackdivider/Divider.java
@@ -67,6 +67,10 @@ return mView; } + public boolean isMinimized() { + return mMinimized; + } + private void addDivider(Configuration configuration) { mView = (DividerView) LayoutInflater.from(mContext).inflate(R.layout.docked_stack_divider, null);