Skip to content

Commit 7a73f2c

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "SDK only: Update docs to reflect current implementation." into lmp-dev
2 parents 5190063 + 67a101a commit 7a73f2c

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)