No, it is not legal. This bike path is part of the Bay Trail, which was enacted by State legislation. The BCDC was specifically created by the legislature to ensure maximum feasible public access to the Bay. So voting to close the path violates any number of laws and policies.
As for driving while distracted by the phone…yeah that’s also illegal.