diff options
author | Kenny Guy <kennyguy@google.com> | 2015-06-22 17:50:42 +0100 |
---|---|---|
committer | Kenny Guy <kennyguy@google.com> | 2015-06-26 16:46:01 +0000 |
commit | ea864c4d4d7ca390d3b67868fd2a640411bff020 (patch) | |
tree | af2d9033c60e9e605aab6a6cd3ada63d4d86ef26 /api | |
parent | 43cf8d1ed10728f40736fa82c1a569d9aa82bfc6 (diff) | |
download | frameworks_base-ea864c4d4d7ca390d3b67868fd2a640411bff020.zip frameworks_base-ea864c4d4d7ca390d3b67868fd2a640411bff020.tar.gz frameworks_base-ea864c4d4d7ca390d3b67868fd2a640411bff020.tar.bz2 |
Deprecate APIs for admin to create users.
Bug: 21921868
Change-Id: I956d24a8394d95bf975581a3451ceabe01708a10
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 4 | ||||
-rw-r--r-- | api/system-current.txt | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/api/current.txt b/api/current.txt index 8c32371..e0712de 100644 --- a/api/current.txt +++ b/api/current.txt @@ -5713,8 +5713,8 @@ package android.app.admin { method public void clearDeviceOwnerApp(java.lang.String); method public void clearPackagePersistentPreferredActivities(android.content.ComponentName, java.lang.String); method public void clearUserRestriction(android.content.ComponentName, java.lang.String); - method public android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); - method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); + method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); + method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); method public void enableSystemApp(android.content.ComponentName, java.lang.String); method public int enableSystemApp(android.content.ComponentName, android.content.Intent); method public java.lang.String[] getAccountTypesWithManagementDisabled(); diff --git a/api/system-current.txt b/api/system-current.txt index 2b5c9d8..13bff98 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -5820,8 +5820,8 @@ package android.app.admin { method public void clearPackagePersistentPreferredActivities(android.content.ComponentName, java.lang.String); method public void clearProfileOwner(android.content.ComponentName); method public void clearUserRestriction(android.content.ComponentName, java.lang.String); - method public android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); - method public android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); + method public deprecated android.os.UserHandle createAndInitializeUser(android.content.ComponentName, java.lang.String, java.lang.String, android.content.ComponentName, android.os.Bundle); + method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String); method public void enableSystemApp(android.content.ComponentName, java.lang.String); method public int enableSystemApp(android.content.ComponentName, android.content.Intent); method public java.lang.String[] getAccountTypesWithManagementDisabled(); |