title: Permission Denial with ACTION_PICK_ACTIVITY
body: <p>A user has reported the following Force Close:</p>
  
  <blockquote>
    <p>java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.PICK_ACTIVITY cmp=com.android.settings/.ActivityPicker (has extras) } from ProcessRecord{43ab9d40 15868:com.barkside.music/u0a10113} (pid=15868, uid=10113) requires huawei.android.permission.HW_SIGNATURE_OR_SYSTEM
    at android.os.Parcel.readException(Parcel.java:1434)
    at android.os.Parcel.readException(Parcel.java:1388)
    at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1985)
    at android.app.Instrumentation.execStartActivity(Instrumentation.java:1419)
    at android.app.Activity.startActivityForResult(Activity.java:3449)
    at android.app.Activity.startActivityForResult(Activity.java:3388)
    at com.barkside.music.PlayInActivity.onAddApp(Unknown Source)</p>
  </blockquote>
  
  <p>This occurs when I attempt to startActivity using the <a href="http://developer.android.com/reference/android/content/Intent.html#ACTION_PICK_ACTIVITY" rel="nofollow">ACTION_PICK_ACTIVITY</a> .</p>
  
  <p>The only report I have for this is for Huawei Ascend Mate 2 running 4.3.</p>
  
  <p>So Huawei seem to have locked down this for use by System apps only.  Is there anyway round this <em>without</em> having to implement my own pick activity listing installed apps to pick from?</p>
  
  <p>Edit: Added code:</p>
  
  <pre><code>Intent mainIntent = new Intent(Intent.ACTION_MAIN, null);
  mainIntent.addCategory(Intent.CATEGORY_LAUNCHER);
  Intent pickIntent = new Intent(Intent.ACTION_PICK_ACTIVITY);
  pickIntent.putExtra(Intent.EXTRA_TITLE, "Pick App to Play in");
  pickIntent.putExtra(Intent.EXTRA_INTENT, mainIntent);
  this.startActivityForResult(pickIntent, REQUEST_PICK_APPLICATION);
  </code></pre>