This repository was archived by the owner on Feb 26, 2023. It is now read-only.

Description
See code below i have an activity which has a setResult with a byte[] as argument. However when i press the back button on said activity it crashes in the generated class because the intent is null. See code below for the error:
Bundle extras_ = (((data!= null)&&(data.getExtras()!= null))?data.getExtras():new Bundle()); byte[] bitmap = data.getByteArrayExtra(BITMAPRESULTKEY_EXTRA); ChatFragment_.this.onPictureTaken(resultCode, bitmap);
the extras_ argument isn't used and the data.getByteArrayExtra gives a nullpointer on backpress of the activity.