Cellphone incident at abuse trial turns spotlight on electronic devices in Brooklyn courts