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

* commit '10352f7a48433b5b76cd5d35a5eec6c3df203a1f':
  Do not expand notifications with expand gesture when disallowed
This commit is contained in:
Jorim Jaggi
2015-09-08 20:58:56 +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;
} }