Chimidi_Mukku Posted November 15, 2012 Report Posted November 15, 2012 http://stackoverflow.com/q/13375357/542425 [color=#000000][font=Arial,] I was looking at the new APIs introduced in Android4.2. While looking at the [url="http://developer.android.com/reference/android/os/UserManager.html"]UserManager[/url] class I came across the following method :[/font][/color] [color=#00008B][background=transparent]public[/background][/color][background=transparent] [/background][color=#00008B][background=transparent]boolean[/background][/color][background=transparent] [b]isUserAGoat[/b] [/background][background=transparent]()[/background][indent][background=transparent] Used to determine whether the user making this call is subject to teleportations.[/background][background=transparent] Returns whether the user making this call is a goat[/background][/indent][color=#000000][font=Arial,] Does anyone know how and when this should be used?[/font][/color] [color=#000000][font=Arial,] [/font][/color]
tom bhayya Posted November 15, 2012 Report Posted November 15, 2012 This appears to be an inside joke at Google. It's also featured in the Google Chrome task manager. It has no purpose, other than some engineers finding it amusing. Which is a purpose by itself, if you will. In Chrome, open the Task Manager with Shift+Esc. Right click to add the Goats Teleported column. Wonder. There is even a huge Chromium bug report about too many teleported goats.
ChampakDas Posted November 15, 2012 Report Posted November 15, 2012 it represents the greatest of all times which they want to represent they are great....contrastingly the method always returns false..em rogam oo [img]http://i1354.photobucket.com/albums/q681/mutamesthri/temp-300-81688885_zpse8930264.gif[/img]
Chimidi_Mukku Posted November 15, 2012 Author Report Posted November 15, 2012 [quote name='GatisKandis' timestamp='1352945528' post='1302798101'] it represents the greatest of all times which they want to represent they are great....contrastingly the method always returns false..em rogam oo [img]http://i1354.photobucket.com/albums/q681/mutamesthri/temp-300-81688885_zpse8930264.gif[/img] [/quote] Yep [color=gray][font=Consolas, Menlo, Monaco,][background=transparent]/**[/background][/font][/color] [color=gray][background=transparent] * Used to determine whether the user making this call is subject to * teleportations. * @return whether the user making this call is a goat */[/background][/color][background=transparent] [/background][color=#00008B][background=transparent]public[/background][/color][background=transparent] [/background][color=#00008B][background=transparent]boolean[/background][/color][background=transparent] isUserAGoat[/background][background=transparent]()[/background][background=transparent] [/background][background=transparent]{[/background][background=transparent] [/background][color=#00008B][background=transparent]return[/background][/color][background=transparent] [/background][color=#00008B][background=transparent]false[/background][/color][background=transparent];[/background][background=transparent] [/background][background=transparent]}[/background]
Recommended Posts