title: Unpin application with adb shell commands in android lollipop
body: <p><strong>Summary</strong></p>
  
  <p>Is there a way to unpin apps in lollipop using shell commands</p>
  
  <p>with adb iv tried: </p>
  
  <pre><code>adb shell input keyevent --longpress 4 187
  </code></pre>
  
  <p>but this never worked</p>
  
  <p><strong>Why i want to do this</strong></p>
  
  <p>1) i'm making a root application that replaces the on screen navigation buttons and need a way to unpin other apps</p>
  
  <p>2) when using a virtual device and i pin a app there is no way for me to press back and recents at the same time with my mouse</p>