Do not expand notifications with expand gesture when disallowed
Bug: 23596083 Change-Id: Iba88abce317e9d3a9c675a846261f35b1daee22a
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user