A preferable way to handle this is would be to make the Dubai-New York nonstop flight a direct flight with a 10 minute stop in Halifax to stow all devices in the cargo bay.
Still allows people to use their devices for 90% of the flight duration, and only makes the flight about half an hour longer.