summaryrefslogtreecommitdiffstats
path: root/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java')
-rw-r--r--packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java17
1 files changed, 2 insertions, 15 deletions
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java b/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
index cf6f60c..bbbe8fa 100644
--- a/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
+++ b/packages/SystemUI/src/com/android/systemui/statusbar/CommandQueue.java
@@ -57,7 +57,6 @@ public class CommandQueue extends IStatusBar.Stub {
private static final int MSG_PRELOAD_RECENT_APPS = 14 << MSG_SHIFT;
private static final int MSG_CANCEL_PRELOAD_RECENT_APPS = 15 << MSG_SHIFT;
private static final int MSG_SET_WINDOW_STATE = 16 << MSG_SHIFT;
- private static final int MSG_SET_KEYGUARD_SHOWN = 17 << MSG_SHIFT;
public static final int FLAG_EXCLUDE_NONE = 0;
public static final int FLAG_EXCLUDE_SEARCH_PANEL = 1 << 0;
@@ -100,8 +99,7 @@ public class CommandQueue extends IStatusBar.Stub {
public void hideSearchPanel();
public void cancelPreloadRecentApps();
public void setWindowState(int window, int state);
- public void setKeyguardShown(boolean showKeyguard, IKeyguardShowCallback callback,
- boolean updateWindowFlags);
+
}
public CommandQueue(Callbacks callbacks, StatusBarIconList list) {
@@ -236,14 +234,6 @@ public class CommandQueue extends IStatusBar.Stub {
}
}
- public void setKeyguardShown(boolean showKeyguard, IKeyguardShowCallback callback,
- boolean updateWindowFlags) {
- synchronized (mList) {
- mHandler.removeMessages(MSG_SET_KEYGUARD_SHOWN);
- mHandler.obtainMessage(MSG_SET_KEYGUARD_SHOWN,
- showKeyguard ? 1 : 0, updateWindowFlags ? 1 : 0, callback).sendToTarget();
- }
- }
private final class H extends Handler {
public void handleMessage(Message msg) {
@@ -325,10 +315,7 @@ public class CommandQueue extends IStatusBar.Stub {
case MSG_SET_WINDOW_STATE:
mCallbacks.setWindowState(msg.arg1, msg.arg2);
break;
- case MSG_SET_KEYGUARD_SHOWN:
- mCallbacks.setKeyguardShown(msg.arg1 != 0, (IKeyguardShowCallback) msg.obj,
- msg.arg2 != 0);
- break;
+
}
}
}