title: permission.android.MANAGE_USB works in Jellybean but not in Lollipop OS
body: <p>I'm developing an application that need this permission: <code>android.permission.MANAGE_USB</code>.</p>
  
  <hr>
  
  <p>I know that this permission is given only at System Application.</p>
  
  <p>If I install the application as a system application in android 4.1.2  the application works fine.</p>
  
  <p>But if I try to install it in android 5.1 as a system app then the debug log prints out that I don't have the permission:</p>
  
  <p><strong>error:</strong></p>
  
  <pre><code>W/System.err: java.lang.SecurityException: 
  Neither user 10074 nor current process has android.permission.MANAGE_USB.
  </code></pre>
  
  <p>Is anybody know why it keeps giving me this error in android 5.1?</p>
  
  <p>Manifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
  package="com.example.app"&gt;
  
  &lt;uses-permission android:name="android.permission.MANAGE_USB"
      android:protectionLevel="signature" /&gt;
  &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.WRITE_INTERNAL_STORAGE" /&gt;
  &lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.DISABLE_KEYGUARD" /&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.GET_TASKS"/&gt;
  &lt;permission android:name="android.permission.SET_TIME"
  android:protectionLevel="signatureOrSystem"
      /&gt;
  &lt;uses-feature android:name="android.hardware.usb.host"
      android:required="true"/&gt;
  
  
  &lt;application
      android:name=".services.AppContext"
      android:allowBackup="true"
      android:icon="@mipmap/ic_launcher"
      android:label="@string/app_name"
      android:largeHeap="true"
      android:supportsRtl="true"
      android:hardwareAccelerated="false"
      android:theme="@style/AppTheme"&gt;
      &lt;service android:name=".services.KioskService" android:exported="false"/&gt;
      &lt;activity
          android:name=".MainActivity"
          android:launchMode="singleInstance"
          android:stateNotNeeded="true"
          android:screenOrientation="sensorLandscape"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.MAIN" /&gt;
              &lt;category android:name="android.intent.category.HOME" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
          &lt;/intent-filter&gt;
      &lt;/activity&gt;
      &lt;service
          android:name="com.example.app.services.UsbService"
          android:enabled="true"&gt;
      &lt;/service&gt;
  
      &lt;receiver android:name=".services.PowerDisconnectReceiver"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.ACTION_POWER_DISCONNECTED"/&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
      &lt;receiver android:name=".services.UsbPermissionReceiver"&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"/&gt;
          &lt;/intent-filter&gt;
      &lt;/receiver&gt;
  
  &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>