Remove handleLongClick on dreamTile Currently, handleLongClick would awaken dream but that takes the device to the lock screen instead of the bouncer. Removing handleLongClick so that long click has the same behavior as other tiles. Bug: 286108889 Test: When dreaming, long click screensaver tile and it will take to you the bouncer. Change-Id: Ied650cdbac13fa2a0b1419f7e1379b81255e1f5f
diff --git a/packages/SystemUI/src/com/android/systemui/qs/tiles/DreamTile.java b/packages/SystemUI/src/com/android/systemui/qs/tiles/DreamTile.java index eef4c1d..b5e6a0f 100644 --- a/packages/SystemUI/src/com/android/systemui/qs/tiles/DreamTile.java +++ b/packages/SystemUI/src/com/android/systemui/qs/tiles/DreamTile.java
@@ -166,17 +166,6 @@ } @Override - protected void handleLongClick(@Nullable View view) { - try { - // Need to wake on long click so bouncer->settings works. - mDreamManager.awaken(); - } catch (RemoteException e) { - Log.e(LOG_TAG, "Can't awaken", e); - } - super.handleLongClick(view); - } - - @Override protected void handleUpdateState(BooleanState state, Object arg) { state.label = getTileLabel(); state.secondaryLabel = getActiveDreamName();