summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Christopher Tate <ctate@google.com> 2010-04-12 15:13:35 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-04-12 15:13:35 -0700
commitb9e3e4ce7e8e57a28ce15680d406c83cba1eb63a (patch)
tree47714b0abadaea678529f483d487e80f7362b11f
parent6dbf80d086d03d95c5f6331719edd6dd6dac0361 (diff)
parentfc922f115325371aaadd4e423472476303039a72 (diff)
Merge "API CHANGE: remove obsolete constants and hide some methods" into froyo
-rw-r--r--api/current.xml35
-rw-r--r--core/java/android/app/backup/BackupDataOutput.java4
2 files changed, 1 insertions, 38 deletions
diff --git a/api/current.xml b/api/current.xml
index a2063b592e53..8cffff1b2fe9 100644
--- a/api/current.xml
+++ b/api/current.xml
@@ -27062,19 +27062,6 @@
deprecated="not deprecated"
visibility="public"
>
-<method name="setKeyPrefix"
- return="void"
- abstract="false"
- native="false"
- synchronized="false"
- static="false"
- final="false"
- deprecated="not deprecated"
- visibility="public"
->
-<parameter name="keyPrefix" type="java.lang.String">
-</parameter>
-</method>
<method name="writeEntityData"
return="int"
abstract="false"
@@ -27109,28 +27096,6 @@
<exception name="IOException" type="java.io.IOException">
</exception>
</method>
-<field name="OP_DELETE"
- type="int"
- transient="false"
- volatile="false"
- value="2"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
-<field name="OP_UPDATE"
- type="int"
- transient="false"
- volatile="false"
- value="1"
- static="true"
- final="true"
- deprecated="not deprecated"
- visibility="public"
->
-</field>
</class>
<interface name="BackupHelper"
abstract="true"
diff --git a/core/java/android/app/backup/BackupDataOutput.java b/core/java/android/app/backup/BackupDataOutput.java
index 53b1d46f227a..3767797b607c 100644
--- a/core/java/android/app/backup/BackupDataOutput.java
+++ b/core/java/android/app/backup/BackupDataOutput.java
@@ -25,9 +25,6 @@ import java.io.IOException;
public class BackupDataOutput {
int mBackupWriter;
- public static final int OP_UPDATE = 1;
- public static final int OP_DELETE = 2;
-
/** @hide */
public BackupDataOutput(FileDescriptor fd) {
if (fd == null) throw new NullPointerException();
@@ -71,6 +68,7 @@ public class BackupDataOutput {
}
}
+ /** @hide */
public void setKeyPrefix(String keyPrefix) {
setKeyPrefix_native(mBackupWriter, keyPrefix);
}