Merge "Fix some bugs."
diff --git a/api/current.xml b/api/current.xml
index d9f2739..442fc4f 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -74110,7 +74110,7 @@
type="float"
transient="false"
volatile="false"
- value="0.0010f"
+ value="0.001f"
static="true"
final="true"
deprecated="not deprecated"
@@ -85143,7 +85143,7 @@
type="int"
transient="false"
volatile="false"
- value="2"
+ value="4"
static="true"
final="true"
deprecated="not deprecated"
@@ -85561,7 +85561,7 @@
type="int"
transient="false"
volatile="false"
- value="4"
+ value="2"
static="true"
final="true"
deprecated="not deprecated"
@@ -213929,7 +213929,7 @@
deprecated="not deprecated"
visibility="public"
>
-<parameter name="arg0" type="T">
+<parameter name="t" type="T">
</parameter>
</method>
</interface>
diff --git a/core/java/android/database/sqlite/SQLiteDatabase.java b/core/java/android/database/sqlite/SQLiteDatabase.java
index 9fa9368..2974981 100644
--- a/core/java/android/database/sqlite/SQLiteDatabase.java
+++ b/core/java/android/database/sqlite/SQLiteDatabase.java
@@ -1542,7 +1542,6 @@
}
}
statement.execute();
- statement.close();
return lastChangeCount();
} catch (SQLiteDatabaseCorruptException e) {
onCorruption();
@@ -1638,7 +1637,6 @@
// Run the program and then cleanup
statement.execute();
- statement.close();
int numChangedRows = lastChangeCount();
if (Config.LOGD && Log.isLoggable(TAG, Log.VERBOSE)) {
Log.v(TAG, "Updated " + numChangedRows + " using " + values + " and " + sql);