Acts 10 has nothing to do with the changing of clean and unclean food laws. It is about Gentiles no longer to be considered unclean in sharing the gospel.
The answer was partly addressed in the scripture you quoted but more so in the chapter context (see second half of
post # 198 linked already addressed).
The Jews obeyed God's dietary laws that is why Peter never ate unclean foods. The vision was never about God making a random decision out of nowhere and changing his mind saying it is now ok to eat unclean food. This is proven when context is added back in as Peter considers the dream and the interpretation he sees that it is a reference to the Gentiles not being unclean...
14, But Peter said,
NOT SO LORD FOR I HAVE NEVER EATEN ANYTHING THAT IS UNCLEAN AND COMMON.
15, And the voice spake unto him again the second time, WHAT GOD HAS CLEANSED, THAT DO NOT CALL COMMON.
16, This was done thrice: and the vessel was received up again into heaven.
17, Now while Peter doubted in himself what this vision which he had seen should mean, behold, the men which were sent from Cornelius had made inquiry for Simon's house, and stood before the gate,
Now the question here to consider is what was it that God had cleansed and we should not call common, this is what Peter was thinking about.
WHILE PETER WAS THINKING ABOUT THE MEANING OF THE VISION. The praying gentile that believed God was at his gate asking for Peter...
18, And called, and asked whether Simon, which was surnamed Peter, were lodged there.
19, While Peter thought on the vision, the Spirit said unto him, Behold, three men seek thee.
20, Arise therefore, and get thee down, and go with them, doubting nothing: for I have sent them.
What was it that God was teaching Peter.....
27, And as he talked with him, he went in, and found many that were come together.
28, And he said unto them,
YOU KNOW THAT IT IS AN UNLAWFUL THING FOR A MAN THAT IS A JEW TO KEEP COMPANY, OR COME UNTO ONE OF ANOTHER NATION; BUT GOD HAS SHOWN ME THAT I SHOULD NOT CALL ANY MAN COMMON OR UNCLEAN
So Peter's dream was not a random decision by God saying he changed his mind and all unclean foods are now clean. Peter's interpretation of the dream was about all men are now clean in God's eyes and that the Believers can preach the Gospel to the Gentiles who are no longer unclean...
Throughout this chapter there is two stories going in sequence. One about Peter's dream and interpretation and the story of the Angel appearing to Cornelius (the gentile believer) who was told to go and meet with Peter who the Jews considered unclean..
Hope this is helpful.