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

* commit 'dee90112ce6d47a5740fd60449f948c37a8956e4':
  Do not expand notifications with expand gesture when disallowed
This commit is contained in:
Jorim Jaggi
2015-09-08 21:08:40 +00:00
committed by Android Git Automerger

View File

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