Returnvalue of addDroneSupportToIntent should be used, or removed. Currently ''newInted" is mutated, but the return value is ignored. Either make void, or refactor to use return value.