Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d8e3e94 authored by Alexey Polyudov's avatar Alexey Polyudov Committed by Android (Google) Code Review
Browse files

Merge "fix the build breakage cuased by merge resolution"

parents 23eb4378 8c041f78
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -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);
    }