Пример #1
0
 /**
  * Remove a current administration component. This can only be called by the application that owns
  * the administration component; if you try to remove someone else's component, a security
  * exception will be thrown.
  */
 public void removeActiveAdmin(ComponentName who) {
   if (mService != null) {
     try {
       mService.removeActiveAdmin(who);
     } catch (RemoteException e) {
       Log.w(TAG, "Failed talking with device policy service", e);
     }
   }
 }