From f689441eede0c60a11541ad0f03621ea948ad441 Mon Sep 17 00:00:00 2001 From: Alexey Polyudov Date: Thu, 2 Feb 2017 12:59:34 -0800 Subject: [PATCH] fix the build breakage caused by merge resolution commit 5d409ace19fa1d8d14d099c63f04ba45e4d578a8 broke the build Change-Id: I62f55d8c1d023190af5171864998a2a4b2090a37 Signed-off-by: Alexey Polyudov (cherry picked from commit 8c041f786200bed1050e8155aa620c02ab5db5cf) --- .../bluetooth/LocalBluetoothPreferences.java | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/com/android/settings/bluetooth/LocalBluetoothPreferences.java b/src/com/android/settings/bluetooth/LocalBluetoothPreferences.java index 5ada9658fbf..6a0bdcf4b21 100644 --- a/src/com/android/settings/bluetooth/LocalBluetoothPreferences.java +++ b/src/com/android/settings/bluetooth/LocalBluetoothPreferences.java @@ -148,20 +148,6 @@ final class LocalBluetoothPreferences { editor.apply(); } - static void persistDiscoveringTimestamp(final Context context) { - // Load the shared preferences and edit it on a background - // thread (but serialized!). - QueuedWork.queue(new Runnable() { - public void run() { - SharedPreferences.Editor editor = getSharedPreferences(context).edit(); - editor.putLong( - KEY_DISCOVERING_TIMESTAMP, - System.currentTimeMillis()); - editor.apply(); - } - }, false); - } - static boolean hasDockAutoConnectSetting(Context context, String addr) { return getSharedPreferences(context).contains(KEY_DOCK_AUTO_CONNECT + addr); }