SDK only: Update docs to reflect current implementation.

Change-Id: I498425bb55b157c954af6a2441d8bd9be3871c55
This commit is contained in:
Dianne Hackborn
2014-10-02 12:42:18 -07:00
parent c338784bf6
commit 67a101aa30

View File

@@ -430,10 +430,14 @@ public class UserManager {
}
}
/**
/**
* Used to determine whether the user making this call is subject to
* teleportations.
* @return whether the user making this call is a goat
*
* <p>As of {@link android.os.Build.VERSION_CODES#L}, this method can
* now automatically identify goats using advanced goat recognition technology.</p>
*
* @return Returns true if the user making this call is a goat.
*/
public boolean isUserAGoat() {
return mContext.getPackageManager()