Do not expand notifications with expand gesture when disallowed

Bug: 23596083
Change-Id: Iba88abce317e9d3a9c675a846261f35b1daee22a
This commit is contained in:
Jorim Jaggi
2015-09-04 11:51:26 -07:00
parent 9f3e169c3a
commit 5e8e1c6377

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;
}