Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for wrong selection of sms template

This patch fix a wrong selection of the sms template when the user performs two different gestures

Change-Id: I4e9d15fc779f6a270421f78c4aed3cd90c0cd01d
Signed-off-by: Riccardo Ciovati <rciovati@gmail.com>
  • Loading branch information...
commit 379e235531c03aa5df79c2a5ec876628cad32b6e 1 parent 502cd00
@rciovati rciovati authored committed
Showing with 1 addition and 0 deletions.
  1. +1 −0  src/com/android/mms/ui/ComposeMessageActivity.java
View
1  src/com/android/mms/ui/ComposeMessageActivity.java
@@ -4140,6 +4140,7 @@ public void onGesturePerformed(GestureOverlayView overlay, Gesture gesture) {
if (prediction.score > mGestureSensitivity) {
Bundle b = new Bundle();
b.putLong("id", Long.parseLong(prediction.name));
+ getLoaderManager().destroyLoader(LOAD_TEMPLATE_BY_ID);
getLoaderManager().initLoader(LOAD_TEMPLATE_BY_ID, b, this);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.