commit | 9832f8f463a7d5448af2294bce05eac85f4dbef0 | [log] [tgz] |
---|---|---|
author | Winson <winsonc@google.com> | Tue Apr 26 11:30:59 2016 -0700 |
committer | Winson <winsonc@google.com> | Mon May 02 16:40:00 2016 -0700 |
tree | e766d702b3529ebd072ff8db6ed4b813bb04438f | |
parent | a5d3e91cefe3dff8ffe85fa10cc1f65be9693500 [diff] [blame] |
Fixing issue with docking being disallowed for secondary user. - When a task is docked, the context is not correct for the given user. Bug: 28195260 Change-Id: I59f73caf818d294c146d215c2bd31dbe1d4c7c5a
diff --git a/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java b/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java index 0e5ebc9..c692a16 100644 --- a/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java +++ b/packages/SystemUI/src/com/android/systemui/recents/views/RecentsViewTouchHandler.java
@@ -193,7 +193,7 @@ } public final void onBusEvent(ConfigurationChangedEvent event) { - if (event.fromDisplayDensityChange) { + if (event.fromDisplayDensityChange || event.fromDeviceOrientationChange) { updateSnapAlgorithm(); } }