Merge "Hide isLinkedUser()" into jb-mr2-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
bbd90f8e70
@@ -17643,7 +17643,6 @@ package android.os {
|
|||||||
method public java.lang.String getUserName();
|
method public java.lang.String getUserName();
|
||||||
method public android.os.Bundle getUserRestrictions();
|
method public android.os.Bundle getUserRestrictions();
|
||||||
method public android.os.Bundle getUserRestrictions(android.os.UserHandle);
|
method public android.os.Bundle getUserRestrictions(android.os.UserHandle);
|
||||||
method public boolean isLinkedUser();
|
|
||||||
method public boolean isUserAGoat();
|
method public boolean isUserAGoat();
|
||||||
method public boolean isUserRunning(android.os.UserHandle);
|
method public boolean isUserRunning(android.os.UserHandle);
|
||||||
method public boolean isUserRunningOrStopping(android.os.UserHandle);
|
method public boolean isUserRunningOrStopping(android.os.UserHandle);
|
||||||
|
|||||||
@@ -202,6 +202,7 @@ public class UserManager {
|
|||||||
* Used to check if the user making this call is linked to another user. Linked users may have
|
* Used to check if the user making this call is linked to another user. Linked users may have
|
||||||
* a reduced number of available apps, app restrictions and account restrictions.
|
* a reduced number of available apps, app restrictions and account restrictions.
|
||||||
* @return whether the user making this call is a linked user
|
* @return whether the user making this call is a linked user
|
||||||
|
* @hide
|
||||||
*/
|
*/
|
||||||
public boolean isLinkedUser() {
|
public boolean isLinkedUser() {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user