From fbd1571632ccbe6a8db73997d1f1834c8f1e586c Mon Sep 17 00:00:00 2001 From: Sergey Solovyev Date: Sun, 16 Jun 2013 19:26:28 +0400 Subject: [PATCH] changes --- .../android/calculator/CalculatorButtons.java | 9 +++++---- android-app/AndroidManifest.xml | 14 +++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/android-app-core/src/main/java/org/solovyev/android/calculator/CalculatorButtons.java b/android-app-core/src/main/java/org/solovyev/android/calculator/CalculatorButtons.java index fd58e8b7..6909c290 100644 --- a/android-app-core/src/main/java/org/solovyev/android/calculator/CalculatorButtons.java +++ b/android-app-core/src/main/java/org/solovyev/android/calculator/CalculatorButtons.java @@ -13,8 +13,6 @@ import android.widget.Button; import android.widget.RemoteViews; import jscl.AngleUnit; import jscl.NumeralBase; -import javax.annotation.Nonnull; -import javax.annotation.Nullable; import org.solovyev.android.Views; import org.solovyev.android.calculator.core.R; import org.solovyev.android.calculator.model.AndroidCalculatorEngine; @@ -25,6 +23,9 @@ import org.solovyev.android.view.drag.DragDirection; import org.solovyev.android.view.drag.SimpleOnDragListener; import org.solovyev.common.math.Point2d; +import javax.annotation.Nonnull; +import javax.annotation.Nullable; + /** * User: serso * Date: 9/28/12 @@ -135,10 +136,10 @@ public final class CalculatorButtons { if (dragDirection == DragDirection.up) { Locator.getInstance().getCalculator().fireCalculatorEvent(CalculatorEventType.show_create_var_dialog, null, context); result = true; - } else if (dragDirection == DragDirection.down) { + }/* else if (dragDirection == DragDirection.down) { Locator.getInstance().getCalculator().fireCalculatorEvent(CalculatorEventType.show_create_matrix_dialog, null, context); result = true; - } + }*/ return result; } diff --git a/android-app/AndroidManifest.xml b/android-app/AndroidManifest.xml index e0bf93be..483b0aa0 100644 --- a/android-app/AndroidManifest.xml +++ b/android-app/AndroidManifest.xml @@ -24,7 +24,7 @@ - + @@ -33,7 +33,7 @@ - + @@ -54,13 +54,13 @@ - - - + + + - + - +