Getting this strange exception in my crashlytics reports.
Fatal Exception: java.lang.SecurityException
Permission Denial: starting Intent { act=android.intent.action.PICK_ACTIVITY cmp=com.android.settings/.ActivityPicker (has extras) } from ProcessRecord{41bc95c0 6397:com.sampleapp.sample/u0a10087} (pid=6397, uid=10087) requires android.permission.SECURITY_ACTIVITY
The affected functionality is
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_SEND);
sendIntent.setType("text/plain");
sendIntent.putExtra(Intent.EXTRA_TEXT, "Text to share");
Intent intentPick = new Intent();
intentPick.setAction(Intent.ACTION_PICK_ACTIVITY);
intentPick.putExtra(Intent.EXTRA_TITLE, "Share link");
intentPick.putExtra(Intent.EXTRA_INTENT, sendIntent);
this.startActivityForResult(intentPick, REQUEST_CODE_MY_PICK);
And it seems to only affect specific Huawei Devices running And 4.2.2 and 4.4.2.