I had similar issues with oil light flickering on idle.
Check the vvt solenoid haven't got their gauze filters covered in crud. Clean them with brake cleaner and put them back.
Front one easy enough to do back one is a bit fiddly
I Also use a genuine oil filter when I did an oil and filter change as aftermarket filters can cause issue with oil flow.
I did end up replacing my vvt solenoids in the end as the light came back on a few weeks later and seems to have cured it.
Check the vvt solenoid haven't got their gauze filters covered in crud. Clean them with brake cleaner and put them back.
Front one easy enough to do back one is a bit fiddly
I Also use a genuine oil filter when I did an oil and filter change as aftermarket filters can cause issue with oil flow.
I did end up replacing my vvt solenoids in the end as the light came back on a few weeks later and seems to have cured it.