Android + Adreno device freeze with UseStaticBranch

When using a shared shader for different numbers of point lights, i.e. when using the r.MobileDynamicPointLightsUseStaticBranch=1 option, the packaged build freezes the whole device on my Galaxy S4 mini with Android 6 & Adreno 305 GPU when many lights are present. Setting r.MobileDynamicPointLightsUseStaticBranch=0 fixes the bug.