summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ray Essick <essick@google.com> 2021-02-23 08:42:49 -0800
committer Ray Essick <essick@google.com> 2021-02-23 08:42:49 -0800
commitc03518906ff3d1beea1b0df29a3743d733fb4787 (patch)
treedf6762946780d378ac22e88f548370768e3f73a9
parent8a6a2bce6c1a1d46c7516baa9f7501f2c75caa37 (diff)
Remove stale method from MtpServer
configure() called non-existent native_configure() as only action. No users found, the class is marked @hide so is not part of SDK. Bug: 180915584 Test: build Change-Id: I1c6d6d91482d4c45b8a55dd258332ba2fb69a599
-rw-r--r--media/java/android/mtp/MtpServer.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/media/java/android/mtp/MtpServer.java b/media/java/android/mtp/MtpServer.java
index 042d02fa3d48..1d2657a280a2 100644
--- a/media/java/android/mtp/MtpServer.java
+++ b/media/java/android/mtp/MtpServer.java
@@ -144,11 +144,6 @@ public class MtpServer implements Runnable {
native_remove_storage(storage.getStorageId());
}
- public static void configure(boolean usePtp) {
- native_configure(usePtp);
- }
-
- public static native final void native_configure(boolean usePtp);
private native final void native_setup(
MtpDatabase database,
FileDescriptor controlFd,