title: Programmatically set package as device owner
body: <p>I'm aware of the command <code>"adb shell dpm set-device-owner  pacakgename"</code></p>
  
  <p>I want to know if there's a way to programmatically ask and set device owner for one app after it's launched</p>
  
  <p>basically the opposite of :</p>
  
  <pre><code>DevicePolicyManager.clearDeviceOwnerApp("com.package.something");
  </code></pre>
  
  <p>Thanks in advance!</p>