title: Dealing with deprecated android.text.ClipboardManager
body: <p><code>android.text.ClipboardManager</code> was deprecated since API level 11, and replaced with <code>android.content.ClipboardManager</code> (<a href="http://developer.android.com/reference/android/text/ClipboardManager.html" rel="noreferrer">source</a>). </p>
  
  <p>How do I write code that supports both cases? Importing <code>android.content.ClipboardManager</code> and using that works in 11+ but force closes in 10. Changing the import to <code>android.text.ClipboardManager</code> throws a bunch of deprecation warnings in 11+.</p>
  
  <p>How can I handle both cases smoothly? What do I need to import?</p>