Merge "Updated removeActiveAdmin documentation" into nyc-dev

am: d34718b6b9

* commit 'd34718b6b95086c34b4813525e6000064460e3a1':
  Updated removeActiveAdmin documentation
This commit is contained in:
Esteban Talavera
2016-02-22 13:33:24 +00:00
committed by android-build-merger

View File

@@ -1059,6 +1059,9 @@ public class DevicePolicyManager {
* by the application that owns the administration component; if you
* try to remove someone else's component, a security exception will be
* thrown.
*
* <p>Note that the operation is not synchronous and the admin might still be active (as
* indicated by {@link #getActiveAdmins()}) by the time this method returns.
*/
public void removeActiveAdmin(@NonNull ComponentName admin) {
if (mService != null) {