public ControllerParent<MicShield> invalidate(
com.integreight.onesheeld.shields.ControllerParent.SelectionAction selectionAction,
boolean isToastable) {
this.selectionAction = selectionAction;
addRequiredPremission(Manifest.permission.RECORD_AUDIO);
<BUG>addRequiredPremission(Manifest.permission.WRITE_EXTERNAL_STORAGE);
addRequiredPremission(Manifest.permission.READ_EXTERNAL_STORAGE);</BUG>
if (activity.getPackageManager().hasSystemFeature(
PackageManager.FEATURE_MICROPHONE) && checkForPermissions())
startMic(isToastable);

public ControllerParent<MicShield> invalidate(
com.integreight.onesheeld.shields.ControllerParent.SelectionAction selectionAction,
boolean isToastable) {
this.selectionAction = selectionAction;
addRequiredPremission(Manifest.permission.RECORD_AUDIO);
addRequiredPremission(Manifest.permission.WRITE_EXTERNAL_STORAGE);
if(Build.VERSION.SDK_INT >=16)
addRequiredPremission(Manifest.permission.READ_EXTERNAL_STORAGE);
if (activity.getPackageManager().hasSystemFeature(
PackageManager.FEATURE_MICROPHONE) && checkForPermissions())
startMic(isToastable);
