Merge "Remove the old version of setAffiliationIds" into oc-dev
am: 8d902a9e28
Change-Id: I219958d5f9d74845b0ec03f88903ea6b9ec345c6
This commit is contained in:
@@ -72,7 +72,6 @@ package android.app.admin {
|
||||
method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
|
||||
method public deprecated java.lang.String getDeviceInitializerApp();
|
||||
method public deprecated android.content.ComponentName getDeviceInitializerComponent();
|
||||
method public void setAffiliationIds(android.content.ComponentName, java.util.List<java.lang.String>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -70,7 +70,6 @@ package android.app.admin {
|
||||
public class DevicePolicyManager {
|
||||
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 setAffiliationIds(android.content.ComponentName, java.util.List<java.lang.String>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -72,7 +72,6 @@ package android.app.admin {
|
||||
method public deprecated android.os.UserHandle createUser(android.content.ComponentName, java.lang.String);
|
||||
method public deprecated java.lang.String getDeviceInitializerApp();
|
||||
method public deprecated android.content.ComponentName getDeviceInitializerComponent();
|
||||
method public void setAffiliationIds(android.content.ComponentName, java.util.List<java.lang.String>);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -7608,22 +7608,6 @@ public class DevicePolicyManager {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* STOPSHIP (b/37622682) Remove it before release.
|
||||
* @removed
|
||||
*/
|
||||
public void setAffiliationIds(@NonNull ComponentName admin, @NonNull List<String> ids) {
|
||||
throwIfParentInstance("setAffiliationIds");
|
||||
if (ids == null) {
|
||||
throw new IllegalArgumentException("ids must not be null");
|
||||
}
|
||||
try {
|
||||
mService.setAffiliationIds(admin, ids);
|
||||
} catch (RemoteException e) {
|
||||
throw e.rethrowFromSystemServer();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the set of affiliation ids previously set via {@link #setAffiliationIds}, or an
|
||||
* empty set if none have been set.
|
||||
|
||||
Reference in New Issue
Block a user