I'm not using the word "just" in the temporal sense.
"I'm going to quietly agree with dems so I can make something happen and look good" isn't about media ratings.
There is no secret behind it. He gets plenty of coverage just being who he is, a racist asshole.
And again, he's not a racist asshole because he wants media coverage. He's a racist asshole who happens to be bolstered and emboldened by a media who just can't help but go all in to boost their ratings with his frequently unbelievably horrible antics, behaviors and decisions.
There is no plan
He just flip flops whenever it seems like it might make him feel better
That's the way it appears to me.