It wouldn't even need to do that, it would just have to be off by default. Camera apps (including OEM ones - I know Samsung and Google both do this) frequently include the option to disable the shutter sound, with a message that disabling it may be illegal and you should check your local laws first.