Removing TisHelper dependency in taskbar
Taskbar should be able to access TouchInteractionService directly Bug: 384896306 Test: Presubmit Flag: EXEMPT bugfix Change-Id: I2a32d3a7a2b2071645abff72c62635c6575a48a1
This commit is contained in:
1 parent
1bcaab81e3
commit
ddded547bb
9 files changed
+13
-51
No files matched your search
@@ -344,6 +344,10 @@ public class TaskbarNavButtonController implements TaskbarControllers.LoggableTa
|
||||
mCallbacks.onToggleOverview();
|
||||
}
|
||||
|
||||
public void hideOverview() {
|
||||
mCallbacks.onHideOverview();
|
||||
}
|
||||
|
||||
void sendBackKeyEvent(int action, boolean cancelled) {
|
||||
if (action == mLastSentBackAction) {
|
||||
// There must always be an alternating sequence of ACTION_DOWN and ACTION_UP events
|
||||
@@ -411,5 +415,8 @@ public class TaskbarNavButtonController implements TaskbarControllers.LoggableTa
|
||||
|
||||
/** Callback invoked when the overview button is pressed. */
|
||||
default void onToggleOverview() {}
|
||||
|
||||
/** Callback invoken when a visible overview needs to be hidden. */
|
||||
default void onHideOverview() { }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user