In contrast to
@Nivek, my speculation is no. Maria Theresia saw Silesia as a definitive part of the Habsburg lands, "stolen" by Prussia. Bavaria is a "fair trade" - in essence.
Will look into this. But I wonder if Friedrich will
calmly sit back (in 1745) and watch Austria expand its influence and boot out a rival. After all, he didn't in 1777 when a similar agreement was reached. Only difference here is that Europe's just had four years of war already (and granted, they still fought for another three OTL), one does wonder if it will not lead to issues similar to the OTL War of the Bavarian Succession.