Permalink
Browse files

Calculator: update arity lib to v2.1.2 to fix log.

Bug 2464487.
  • Loading branch information...
1 parent c5b1929 commit ec41ca06876587e14fc80fca3539ddfecab7ef44 Mihai Preda committed Mar 1, 2010
Showing with 1 addition and 8 deletions.
  1. +1 −1 Android.mk
  2. BIN arity-2.0.2.jar
  3. BIN arity-2.1.2.jar
  4. +0 −7 src/com/android/calculator2/Logic.java
View
@@ -31,7 +31,7 @@ include $(BUILD_PACKAGE)
##################################################
include $(CLEAR_VARS)
-LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libarity:arity-2.0.2.jar
+LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libarity:arity-2.1.2.jar
include $(BUILD_MULTI_PREBUILT)
# Use the folloing include to make our test apk.
View
Binary file not shown.
View
Binary file not shown.
@@ -50,13 +50,6 @@
Logic(Context context, History history, CalculatorDisplay display, Button equalButton) {
mErrorString = context.getResources().getString(R.string.error);
- try {
- // in calculator we use log() for base-10,
- // unlike in arity-lib where log() is natural logarithm
- mSymbols.define(mSymbols.compileWithName("log(x)=log10(x)"));
- } catch (SyntaxException e) {
- throw new Error("" + e); //never
- }
mHistory = history;
mDisplay = display;
mDisplay.setLogic(this);

0 comments on commit ec41ca0

Please sign in to comment.