Sorry to hear! I assume you're talking about the camera on the rear of the phone? That does have focus, not sure why it's not focusing for you. If shaking it a bit doesn't help or cleaning it off, not sure what else can be done.
As another poster said, the camera on the front of the phone doesn't focus, it's fixed.
Have you checked if it's maybe your case? See: https://android.gadgethacks.com/how-to/psa-if-youre-having-auto-focus-issues-your-pixel-its-probably-your-cases-fault-0174965/
EDIT: yeah probably not related, the 4a doesn't have a laser auto-focus component that is separated like on this photo:
Google Pixel
The World's Google Pixel community!
This community is for lemmings to gather and discuss all things related to the Google Pixel phone and other related hardware. Feel free to ask questions, seek advice, and engage in discussions around the Pixel and its ecosystem.
We ask you to be polite when addressing others and respect Lemmy.world's rules.
NSFW content is not allowed and will immediately get you banned.
It also goes without saying that self-promotion of any nature and referral links are not allowed. When in doubt, contact the mod team first.
Also, please, no politics.
For more general Android discussions, see !android@lemmy.world.
This community is not in any way affiliated with Google. If you are looking for customer support regarding your Pixel phone, look here instead: https://support.google.com/pixelphone/