Yes it does. I have Airpod 4 ANC connected to a Samsung Galaxy S24 as we speak and I cycle between ANC and Transparency mode frequently by squeezing the stalk.
This thread is full of weird misinformation.
This is misinformation. I change anc modes using the air pod while connected to my non root android device. The anc works identically when connected to an Apple device
You needed to have configured it on Mac/iOS though.