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

* commit 'ae44c2857d3887c7830512b294f59195177ea035':
  Do not expand notifications with expand gesture when disallowed
This commit is contained in:
Jorim Jaggi
2015-09-08 21:15:35 +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;
}