A cracked camera lens cover makes photos hazy and lets dust and water in. Replacing just the lens glass is quick and cheap on most phones.
1. Cover the cracked lens with tape so pieces don't fall into the camera.
2. Warm the area gently to soften the glue.
3. Lift the broken glass out with a fine plastic or metal pick, working from the edge. Don't press on the camera underneath.
4. Clean all glass bits and old glue from the ring.
5. Fit the new lens with its adhesive and press it down evenly.
6. Test photos at different distances and with the flash.
If photos are still blurry after a new lens, the camera module itself may be damaged.