package com.fsck.k9.helper;

import android.content.ClipData;
import android.content.Context;


/**
 * Access the system clipboard using the new {@link ClipboardManager} introduced with API 11
 */
public class ClipboardManager {

    private static ClipboardManager sInstance = null;

    public static ClipboardManager getInstance(Context context) {
        Context appContext = context.getApplicationContext();

        if (sInstance == null) {
            sInstance = new ClipboardManager(appContext);
        }

        return sInstance;
    }


    protected Context mContext;

    /**
     * Constructor
     *
     * @param context
     *         A {@link Context} instance.
     */
    protected ClipboardManager(Context context) {
        mContext = context;
    }

    /**
     * Copy a text string to the system clipboard
     *
     * @param label
     *         User-visible label for the content.
     * @param text
     *         The actual text to be copied to the clipboard.
     */
    public void setText(String label, String text) {
        android.content.ClipboardManager clipboardManager =
                (android.content.ClipboardManager) mContext.getSystemService(Context.CLIPBOARD_SERVICE);
        ClipData clip = ClipData.newPlainText(label, text);
        clipboardManager.setPrimaryClip(clip);
    }
}

@@ -226,64 +226,8 @@
 r %7B%0A
-%0A    private static ClipboardManager sInstance = null;%0A%0A
     
@@ -350,25 +350,24 @@
 text();%0A
-%0A
         
 if (sIns
@@ -362,126 +362,47 @@
     
-if (sInstance == null) %7B%0A            sInstance = new ClipboardManager(appContext);%0A        %7D%0A%0A        return sInstance
+return new ClipboardManager(appContext)
 ;%0A  

Change ClipboardManager to no longer be a singleton