diff options
author | d34d <clark@cyngn.com> | 2016-04-04 10:05:06 -0700 |
---|---|---|
committer | d34d <clark@cyngn.com> | 2016-04-04 10:05:06 -0700 |
commit | edf0185326ff7eb14979f4f1f87a68c22a507b5b (patch) | |
tree | 0538f8a7478632e33035bb824d73dfa3a3f73763 /packages | |
parent | 4feb6b262a85d8cd8b68121de6e6bc490ca3930b (diff) | |
download | frameworks_base-edf0185326ff7eb14979f4f1f87a68c22a507b5b.zip frameworks_base-edf0185326ff7eb14979f4f1f87a68c22a507b5b.tar.gz frameworks_base-edf0185326ff7eb14979f4f1f87a68c22a507b5b.tar.bz2 |
SysUI/LLS: Slide panel out when collapse called
The actions performed when collapseNotificationPanel is called
needed to be updated with the introduction of the new sliding
notification panel UX.
Change-Id: I5914242cf9586b49f90ee51db5e64ef2a0b27397
TICKET: CYNGNOS-2354
Diffstat (limited to 'packages')
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java | 4 | ||||
-rw-r--r-- | packages/SystemUI/src/com/android/systemui/statusbar/policy/LiveLockScreenController.java | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java index 125e3f1..c316e4c 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/phone/NotificationPanelView.java @@ -2811,4 +2811,8 @@ public class NotificationPanelView extends PanelView implements List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1); return !tasks.isEmpty() && pkgName.equals(tasks.get(0).topActivity.getPackageName()); } + + public void slideLockScreenOut() { + mSwipeCallback.onChildDismissed(this); + } } diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/LiveLockScreenController.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/LiveLockScreenController.java index 6d14cbd..46b23d8 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/LiveLockScreenController.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/LiveLockScreenController.java @@ -163,7 +163,7 @@ public class LiveLockScreenController { mHandler.post(new Runnable() { @Override public void run() { - mBar.focusKeyguardExternalView(); + mPanelView.slideLockScreenOut(); } }); } |