am 5e8e1c63: Do not expand notifications with expand gesture when disallowed

* commit '5e8e1c63774da8c013fad18a63eac691cdc9646f':
  Do not expand notifications with expand gesture when disallowed
This commit is contained in:
Jorim Jaggi
2015-09-08 20:50:53 +00:00
committed by Android Git Automerger

View File

@@ -112,7 +112,9 @@ public class ExpandHelper implements Gefingerpoken {
public boolean onScaleBegin(ScaleGestureDetector detector) { public boolean onScaleBegin(ScaleGestureDetector detector) {
if (DEBUG_SCALE) Log.v(TAG, "onscalebegin()"); if (DEBUG_SCALE) Log.v(TAG, "onscalebegin()");
startExpanding(mResizedView, STRETCH); if (!mOnlyMovements) {
startExpanding(mResizedView, STRETCH);
}
return mExpanding; return mExpanding;
} }