From c03518906ff3d1beea1b0df29a3743d733fb4787 Mon Sep 17 00:00:00 2001 From: Ray Essick Date: Tue, 23 Feb 2021 08:42:49 -0800 Subject: [PATCH] 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 --- media/java/android/mtp/MtpServer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/media/java/android/mtp/MtpServer.java b/media/java/android/mtp/MtpServer.java index 042d02fa3d480..1d2657a280a22 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,