how to uses PrivilegedAction in Android?
<p>In the <a href="http://developer.android.com/reference/java/security/PrivilegedAction.html" rel="nofollow">document</a>, it says </p>

<blockquote>
  <p>Legacy security code; do not use.</p>
</blockquote>

<p>What does this mean? Is it deprecated?<br>
I saw it once in this <a href="http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-built-in-a">post</a>.</p>
