Sangakkara made himself unavailable for the last Test of the series partly because of commitments with Surrey.
He will also not play the third Test against India in August, having already announced his international retirement.
Tharanga's last Test was also against Pakistan, in Colombo last year, where he made 92 and 45.