Skip to content

Commit 67a101a

Browse files
author
Dianne Hackborn
committed
SDK only: Update docs to reflect current implementation.
Change-Id: I498425bb55b157c954af6a2441d8bd9be3871c55
1 parent c338784 commit 67a101a

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

core/java/android/os/UserManager.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -430,10 +430,14 @@ public String getUserName() {
430430
}
431431
}
432432

433-
/**
433+
/**
434434
* Used to determine whether the user making this call is subject to
435435
* teleportations.
436-
* @return whether the user making this call is a goat
436+
*
437+
* <p>As of {@link android.os.Build.VERSION_CODES#L}, this method can
438+
* now automatically identify goats using advanced goat recognition technology.</p>
439+
*
440+
* @return Returns true if the user making this call is a goat.
437441
*/
438442
public boolean isUserAGoat() {
439443
return mContext.getPackageManager()

0 commit comments

Comments
 (0)