summaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2015-06-22 17:50:42 +0100
committerKenny Guy <kennyguy@google.com>2015-06-26 16:46:01 +0000
commitea864c4d4d7ca390d3b67868fd2a640411bff020 (patch)
treeaf2d9033c60e9e605aab6a6cd3ada63d4d86ef26 /api
parent43cf8d1ed10728f40736fa82c1a569d9aa82bfc6 (diff)
downloadframeworks_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.txt4
-rw-r--r--api/system-current.txt4
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();